function onStepIn(cid, item, pos, fromPosition) if getPlayerStorageValue(cid, item.actionid+getPlayerStorageValue(cid, 42355)*10-1) == 1 then doPlayerSendTextMessage(cid,MESSAGE_STATUS_CONSOLE_BLUE,'Zrobiles arene na poziomie '.. getPlayerStorageValue(cid, 42355)+1 ..'! Idz i wybierz nagrode.') setPlayerStorageValue(cid, 42355, getPlayerStorageValue(cid, 42355)+1) --did arena level X setPlayerStorageValue(cid, item.actionid+getPlayerStorageValue(cid, 42355)*10, 1) --did arena level X setGlobalStorageValue(item.actionid-1, 0) -- room free setPlayerStorageValue(cid, 42350, os.time()+5) -- time to kick 0 setPlayerStorageValue(cid, 42352, 0) -- is not in arena doTeleportThing(cid, arenaKickPosition, TRUE) else doTeleportThing(cid, fromPosition, TRUE) doPlayerSendTextMessage(cid,MESSAGE_STATUS_CONSOLE_ORANGE,'Najpierw zabij potwora!') end return TRUE end