Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local config = {
- item = 1234,
- mount = MountID
- }
- function onUse(cid, item, position, fromPosition)
- if isPlayer(cid) then
- if getPlayerItemCount(cid, config.item) == 0 then
- doCreatureSay(cid, "You don't have the required item!", TALKTYPE_ORANGE_1)
- else
- doPlayerAddMount(cid, config.mount)
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement