someone can fix my script? :D
function onUse(cid, item, fromPosition, itemEx, toPosition)
local config = {
sw1 = 1313,
item = 1945,
value= 2020,
}
if item.uid == config.sw1 and item.itemid == config.item and getGlobalStorage(config.value) then
doPlayerSendTextMessage(cid...