• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Zombie

freddzor11

Member
Joined
May 25, 2009
Messages
695
Reaction score
5
I got a zombie event but when I walking at the tp I get this error


[Error - MoveEvents Interface]
data/movements/scripts/deadlyArena.lua:eek:nStepIn
Description:
attempt to index a nil value
stack traceback:
[C]: in function 'doTeleportThing'
data/movements/scripts/deadlyArena.lua:7: in function <data/movements/sc
ripts/deadlyArena.lua:3>


[Error - MoveEvents Interface]
data/movements/scripts/deadlyArena.lua:eek:nStepIn
Description:
attempt to index a nil value
stack traceback:
[C]: in function 'doTeleportThing'

my movements deadlyarena script
Code:
local spawn = {x=739, y=998, z=7}

function onStepIn(cid, item, position, fromPosition)


if item.actionid == 7796 then
        doTeleportThing(cid, arena)
        doSendMagicEffect(getCreaturePosition(cid),10)



elseif item.actionid == 7795 then
doTeleportThing(cid, fromPosition)
doSendMagicEffect(getCreaturePosition(cid),10)
doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "You can\'t enter arena during the event.")
end

return true
end
 
Back
Top