Advertisement
BarryAllenwhl

tile staff

Apr 6th, 2017
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. function onStepIn(cid, item, position, fromPosition)
  2. if isMonster(cid) then
  3. doTeleportThing(cid, fromPosition, true)
  4. doSendMagicEffect(getThingPos(cid), 2)
  5. return true
  6. end
  7. if getPlayerGroupId(cid) == 1 then
  8. doTeleportThing(cid, fromPosition, true)
  9. doPlayerSendTextMessage(cid, 25, "Voce eh player, nao pode passar aqui")
  10. doSendMagicEffect(getThingPos(cid), 2)
  11. return false
  12. end
  13. doPlayerSendTextMessage(cid, 25, "The Staffer!")
  14. doSendMagicEffect(getThingPos(cid), 12)
  15. return true
  16. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement