Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function onUse(cid, item, frompos, item2, topos)
- if item2 then
- if getPlayerVocation(cid) ~= vocneed then
- doPlayerSendTextMessage(cid, 27, "Vocation wrong!")
- return true
- end
- doTeleportThing(cid, getThingPos(item2.uid))
- doRemoveItem(item.uid, 1)
- end
- return true
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement