Advertisement
Cavitt

Untitled

May 20th, 2012
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local config = {
  2. item = 1234,
  3. mount = MountID
  4. }
  5.  
  6. function onUse(cid, item, position, fromPosition)
  7. if isPlayer(cid) then
  8. if getPlayerItemCount(cid, config.item) == 0 then
  9. doCreatureSay(cid, "You don't have the required item!", TALKTYPE_ORANGE_1)
  10. else
  11. doPlayerAddMount(cid, config.mount)
  12. end
  13. end
  14. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement