Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function onSay(cid, words, param, channel)
- local p_pos = getCreatureLookPosition(cid)
- local delay = 400 -- valor de intervalor em miliseconds para execuรงรฃo de effect de sangue
- local stor_exhaust = 12456
- local time = 2 -- 2 segundos de exhaustion
- --if(isPlayer(getTopCreature(p_pos)))then
- --if(exhaustion.get(cid, stor_exhaust))then
- exhaustion.set(cid, stor_exhaust, timer)
- doSendAnimatedText(p_pos, "CREW!", math.random(255))
- for i=0,4 do addEvent(function() doSendMagicEffect(p_pos, effect) end, i*delay) end
- --else
- return RETURNVALUE_YOUAREEXHAUSTED
- --end
- --end
- return true
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement