Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function onStepIn(cid, item, position, fromPosition)
- if isMonster(cid) then
- doTeleportThing(cid, fromPosition, true)
- doSendMagicEffect(getThingPos(cid), 2)
- return true
- end
- if getPlayerGroupId(cid) == 1 then
- doTeleportThing(cid, fromPosition, true)
- doPlayerSendTextMessage(cid, 25, "Voce eh player, nao pode passar aqui")
- doSendMagicEffect(getThingPos(cid), 2)
- return false
- end
- doPlayerSendTextMessage(cid, 25, "The Staffer!")
- doSendMagicEffect(getThingPos(cid), 12)
- return true
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement