I came to ask for a help, because I need someone's help to help me create the command
!rsfor the script


!rsfor the script
addhook("say","reset")
function reset(id,txt)
if(txt=="@rs") then
parse ("setscore "..id.." 0")
parse ("setdeaths "..id.." 0")
parse ("sv_msg2 "..id.." ©255255255Scores Reset")
parse ("sv_msg2 "..id.." ©020255000Scores Reset")
msg("©000000255"..player(id,"name").." reset his scores!")
end
end
addhook("say","reset")
function reset(id,txt)
if(txt=="!rs") then
parse ("setscore "..id.." 0")
parse ("setdeaths "..id.." 0")
parse ("sv_msg2 "..id.." ©255255255Scores Reset")
parse ("sv_msg2 "..id.." ©020255000Scores Reset")
msg("©000000255"..player(id,"name").." reset his scores!")
end
end
hc.add_say_command("rs", hc.moderation.rs_say_command, hc.USER, "Resets your score", "", true)
function hc.moderation.rs_say_command(id,txt)
parse ("setscore "..id.." 0")
parse ("setdeaths "..id.." 0")
parse ("sv_msg2 "..id.." ©255255255[PM]From Server > ©000255255You used Resetscore ©255000000[!rs]")
parse ("msg ©255255255ID "..id.." ©255000000Reseted His/Her Score, Type !rs to do so")
end
\169
like every normal scripter.