skydangerous

Untitled

Nov 1st, 2011
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.33 KB | None | 0 0
  1. function onUse(cid, item, frompos, item2, topos)
  2. level = getPlayerLevel(cid)
  3. local pos = {x = 1009,y = 1025,z=7}
  4.     if (level > 100) then
  5.         doPlayerSendTextMessage(cid, 25, "Foi sumonado um item no mapa, ache-o")
  6.         doCreateItem(2160, 1, pos)
  7.     else
  8.     doPlayerSendTextMessage(cid, 21, "Voce precissa level 100+ para usar ")
  9.     end
  10. end
  11.  
Advertisement
Add Comment
Please, Sign In to add comment