Ich brauche schnell eure Hilfe ...


meinche von euch kennen Ja den |Fruit| Clan (die Server) da ist so ein Lua/Script !rs ich will den auch pass genau zu meine Map



Pls hilft mir da raus zu kommen

-- Untestet!!!
addhook("say","lol")
function lol(id,txt)
if txt=="!rs" then
parse("setscore "..id.." 0")
parse("setdeaths "..id.." 0")
msg("©255000000"..player(id,"name").." reset his score!")
return 1
end
end
addhook("say","_say")
function _say(id,message)
if string.lower(message)=="!rs" then
if player(id,"deaths")>0 then
parse("setscore "..id.." 0")
parse("setdeaths "..id.." 0")
msg(string.char(169).."255255255"..player(id,"name").." RESETSCORE")
end
return 1
end
end