I Have this script and have error in console ( attached file )
How to solve this?
function onUse(cid, item, frompos, item2, topos)
if(item.actionid == 32146) and getPlayerStorageValue(cid,42830) == 5 then -- teleport to the last room
for x = 33357, 33362 do
for y = 31404, 31409 do...