-[IFwsI]-
You need an account to view all sections/topics

Help script HC

View previous topic View next topic Go down

Help script HC

Post by Noyo on Sat May 02, 2015 2:47 am

Hello want to put resetscore along with hc admin scrpt how I do it .

Noyo
Guest


Back to top Go down

Re: Help script HC

Post by Soushiant.iR on Sat May 02, 2015 11:28 am

-- Put this inside function hc.messaging.init(), hc\modules\messaging
hc.add_say_command("rs", hc.messaging.rs_command, hc.USER, "", "Re-set your score.", true)


-- Put this right below "-- Internal functions"
function hc.messaging.rs_command(p)
   parse('setscore '..p..' 0')
   parse('setdeaths '..p..' 0')
   msg2(p, '\169000255000Reset succesful!')
end

_________________
memes
avatar
Soushiant.iR
Moderator
Moderator

Gender : Male Posts : 1266
Points : 1419
Join date : 2011-12-21
Age : 19
Location : Earthend

View user profile http://project-extract.site50.net/Download/gui.html

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum