[1:46:41.232] [Error - MoveEvents Interface]
[1:46:41.232] data/movements/scripts/trainingmonk.lua: onStepIn
[1:46:41.232] Description:
[1:46:41.232] (luaGetThingPosition) Thing not found
[1:46:50.248] Master Fusion has logged in.
help
file
[1:46:41.232] data/movements/scripts/trainingmonk.lua: onStepIn
[1:46:41.232] Description:
[1:46:41.232] (luaGetThingPosition) Thing not found
[1:46:50.248] Master Fusion has logged in.
help
file
function onStepIn(cid, item, position, fromPosition)
for i = 17000, 17122 do
local pos = getThingPos(i)
if not isPlayer(getTopCreature(pos).uid) then
doTeleportThing(cid, pos)
doCreatureSay(cid, 'Do not use any tool to skill.', 19, false, cid)
doSendMagicEffect(position, CONST_ME_TELEPORT)
doSendMagicEffect(pos, CONST_ME_TELEPORT)
return
end
end
doTeleportThing(cid, fromPosition, true)
doCreatureSay(cid, 'All training slots are taken', 19, false, cid)
doSendMagicEffect(fromPosition, CONST_ME_TELEPORT)
end
Last edited: