Postado Setembro 15, 2012 12 anos Eae denovo glr vim trazer um script que é bom para eventos eu acho o adm fla !antipush ai ninguem pode puxar ngm /data/talkactions/scripts nome.lua function onSay(cid, words, param) if getGlobalStorageValue(3213) > 0 then setGlobalStorageValue(3213, 0) doPlayerSendTextMessage(cid, "You desativo the anti-push.") else setGlobalStorageValue(3213, 1) doPlayerSendTextMessage(cid, 27, "You ativo the anti-push.") end return true end talkactions.xml <talkaction log="yes" access="5" words="!antipush" event="script" value="nome.lua"/> /data/creaturescripts/scripts nome.lua function onPush(cid, target) if getGlobalStorageValue(3213) > 0 then return false and doPlayerSendTextMessage(cid, 28, "You can't empurar players if anti-push está actived.") end end creaturescripts.xml <event type="push" name="antiPush" script="nome.lua"/> login.lua registerCreatureEvent(cid, "antiPush") nem sei se tá certo porque nunca usei onPush então a tag pode estar errada flws. Editado Setembro 15, 2012 12 anos por Skyforever (veja o histórico de edições) Retirado. Skype: joaoxtibia85.
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.