Code:
[14:48:53.021] [Error - MoveEvents Interface]
[14:48:53.021] data/movements/scripts/bridge3.lua:onStepIn
[14:48:53.021] Description:
[14:48:53.021] data/movements/scripts/bridge3.lua:6: attempt to compare number with boolean
[14:48:53.021] stack traceback:
[14:48:53.021] data/movements/scripts/bridge3.lua:6: in function <data/movements/scripts/bridge3.lua:1>
Code:
[14:48:19.306] [Error - MoveEvents Interface]
[14:48:19.307] data/movements/scripts/bridge2.lua:onStepIn
[14:48:19.307] Description:
[14:48:19.307] data/movements/scripts/bridge2.lua:6: attempt to compare number with boolean
[14:48:19.307] stack traceback:
[14:48:19.307] data/movements/scripts/bridge2.lua:6: in function <data/movements/scripts/bridge2.lua:1>
Bridge3
Code:
function onStepIn(cid, item, pos)
local p = getPlayerPosition(cid)
local nppos = {x=p.x, y=p.y+1, z=p.z, stackpos=1}
if item.actionid == 2001 then
if getPlayerPremiumDays(cid) >= 1 then
else
doTeleportThing(cid,nppos)
doPlayerSendTextMessage(cid,22,"Solo pueden pasar personas VIP Account. Para comprar vip account diga needvip para mas informacion./ Only VIP Account's pass here. For buy one VIP Account enter in the WEB and search the shop.")
end
end
end
Bridge2
Code:
function onStepIn(cid, item, pos)
local p = getPlayerPosition(cid)
local nppos = {x=p.x-1, y=p.y, z=p.z, stackpos=1}
if item.actionid == 2000 then
if getPlayerPremiumDays(cid) >= 1 then
else
doTeleportThing(cid,nppos)
doPlayerSendTextMessage(cid,22,"Solo pueden pasar personas VIP Account. Para comprar vip account diga needvip para mas informacion./ Only VIP Account's pass here. For buy one VIP Account enter in the WEB and search the shop.")
end
end
end
Please help t.t
I give rep++