function onUse(cid, item, frompos, item2, topos)
if item.itemid == 2312 then
if (getPlayerStorageValue(cid,21446) < 1) then
local playerpos = getCreaturePosition(cid)
doRemoveItem(item.uid,2312)
setPlayerStorageValue(cid,21446,1)
doCreatureSay(cid, "Gratulacje! Zyskujesz dostep do premium island !", TALKTYPE_ORANGE_1)
else
doCreatureSay(cid, "Posiadasz juz dostep do premium island.", TALKTYPE_ORANGE_1)
end
end
end
Gdy uzywam to daje mi dostep ale nie usuwa runki ;/ jak mialem items o id 5706 to usuwa?o ;x a ja chce o id 2312