Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local itemid = 2178 -- Storage Item
- function onUse(cid, item, frompos, item2, topos)
- if getPlayerStorageValue(cid, 1234) ~= -1 then
- doPlayerSendCancel(cid, "Voce ja ganhou esse premio.")
- return true
- end
- doPlayerRemoveItem(cid, itemid, 1)
- setPlayerStorageValue(cid, 1234, 1)
- return true
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement