Hi. I have next problem. This is my code:
function onStepIn(cid, item, pos)
local storage = getPlayerStorageValue(uid, 65001)
if isPlayer(cid) then
if(item.uniqueid = 19701) and storage = 0 then
doPlayerSendTextMessage(cid, MESSAGE_EVENT_ORANGE, 'Sorry, you cant pass this gate. You must be...