• 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!

Windows [8.30][TFS][premium bridge]

SonGoqu

New Member
Joined
Nov 27, 2008
Messages
64
Reaction score
0
Hi, I have a little problem, I have TFS 0.2.15 and I wanna make a pacc bridge with this script:

rookpacc.lua

function onStepIn(cid, item, pos)

local npos = {x=106, y=44, z=7} - tp no pacc
local ypos = {x=106, y=48, z=7} - tp pacc

if isPlayer(cid) == TRUE then
if isPremium(cid) then
doTeleportThing(cid,ypos)
doSendMagicEffect(ypos,10)
else
doTeleportThing(cid,npos)
doSendMagicEffect(npos,10)
end
end
end

rookpacc1.lua

function onStepIn(cid, item, pos)

local ypos = {x=106, y=44, z=7} -- back tp

if isPlayer(cid) == TRUE then
if isPremium(cid) then
doTeleportThing(cid,ypos)
doSendMagicEffect(ypos,10)
else
doTeleportThing(cid,ypos)
doSendMagicEffect(ypos,10)
end
end
end

data\movements\movements.xml

<movevent event="StepIn" uniqueid="5454" script="rookpacc.lua" />
<movevent event="StepIn" uniqueid="5455" script="rookpacc1.lua" />

but everyone can go through, have someone a script specially for TFS 0.2.15/0.2.20?? Thank for help.
 
Back
Top