Teraz użyłem elseif bez jednego enda i to samo. Przy przeładowaniu crash :(
local tp = {x=431, y=1367, z=5}
function onStepIn(cid, item, item2, fromPos, toPos, pos)
if (item.actionid == 997) then --venore
doTeleportThing(cid, tp)
setPlayerStorageValue(cid, 997, 1)...