Skymagnum

Untitled

May 12th, 2013
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.40 KB | None | 0 0
  1. --- Script by Thiagobji ---
  2. function onSay(cid, words, param)
  3.  
  4.     if doPlayerRemoveMoney(cid, 10000) then
  5.         doPlayerSendTextMessage(cid, 27, "VocĂȘ comprou um Amulet of Loss")
  6.         doSendMagicEffect(getPlayerPosition(cid), 29)
  7.         doPlayerAddItem(cid, 2173, 1)
  8.     else
  9.         doPlayerSendCancel(cid, "VocĂȘ precisa de 10k para comprar um Amulet of Loss")
  10.     end
  11.  
  12. return true
  13. end
Advertisement
Add Comment
Please, Sign In to add comment