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

Join the forum, it's quick and easy

-[IFwsI]-
You need an account to view all sections/topics
-[IFwsI]-
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Help script HC

Go down

Help script HC Empty Help script HC

Post by Noyo 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

Help script HC Empty Re: Help script HC

Post by Soushiant.iR 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
Soushiant.iR
Soushiant.iR
Moderator
Moderator

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

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

Back to top Go down

Back to top


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