Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local wait = 60
- function onSay(cid, words, param)
- if exhaustion.check(cid, 9854) then
- doPlayerSendTextMessage(cid, 20, "You need to wait "..wait.." segs to use this command again!")
- return true
- end
- if not doPlayerRemoveMoney(cid, 15000) then
- doPlayerSendCancel(cid, "Not enough money, sorry.")
- return true
- end
- doSendMagicEffect(getCreaturePosition(cid), 6)
- exhaustion.set(cid, 9854, wait)
- broadcastMessage("Mensagem do jogador: "..getPlayerName(cid).." ele diz "..param.."")
- return true
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement