Advertisement
RoksasNunes

Damaged

Apr 18th, 2013
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.32 KB | None | 0 0
  1. local remove = 100 -- Remove HP
  2.  
  3. function onStepIn(cid, item, pos)
  4.         if isPlayer(cid) then
  5.                 doCreatureAddHealth(cid, -remove)
  6.                         doSendAnimatedText(getCreaturePosition(cid), "FAIL", math.random(1, 255))
  7.                 end
  8.                         return true
  9.                 end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement