Hi, all users otland!
I have got problems with script.
and
Two same bugs:
TFS isn't show BUGS.
When I stand on tile with action id: 7777 without premium it don't do.
Sorry for my really good English eace:
The Forgotten Server, version 0.3.6 (Crying Damson)
I have got problems with script.
Code:
<movevent event="StepIn" actionid="7777" script="premiumbridge.lua" />
Code:
function onStepIn(cid, item, pos)
local newPos = {x=(dir == 1 and pos.x-1 or dir == 3 and pos.x+1 or pos.x), y=pos.y, z=pos.z}
if isPlayer(cid) == TRUE then
if isPremium(cid) == TRUE then
else
doPlayerSendTextMessage(cid,"Only premium can go across bridge!")
doTeleportThing(cid,newpos)
doSendMagicEffect(npos,2)
end
end
end
and
Code:
<movevent event="StepIn" actionid="9977" script="tp.lua" />
Code:
function onStepIn(cid, item, pos)
if item.actionid == 9977 then
local pos = getPlayerPosition(cid)
local tppos = {x=2571, y=2705, z=8}
doTeleportThing(cid,tppos)
doPlayerSendTextMessage(cid, 19, "Wpadłeś w ukrytą dziurę!")
end
return 1
end
Two same bugs:
TFS isn't show BUGS.
When I stand on tile with action id: 7777 without premium it don't do.
Sorry for my really good English eace:
The Forgotten Server, version 0.3.6 (Crying Damson)
Last edited: