Hbraveq
Active Member
- Joined
- Nov 11, 2012
- Messages
- 167
- Reaction score
- 40
Hello
I have simple script to add storage id, but I have problem. Item can be used by any number of ppl instead of dissapear after first use....
I have simple script to add storage id, but I have problem. Item can be used by any number of ppl instead of dissapear after first use....
function onUse(cid, item)
if getPlayerStorageValue(cid, 343450) < 1 then
setPlayerStorageValue(cid, 343450, 1)
doPlayerSendTextMessage(cid,22,"zyskales dostep do drzwi")
doRemoveItem(item.uid, 1)
end
end