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

[Support] Script for enter poi dont work.

Szakal

Frank Jaeger
Joined
Apr 16, 2008
Messages
1,338
Reaction score
6
Location
Poland, Lubań.
Hello:)
I got tfs 0.3.5pl1
And script from 0.2~ dont work on that tfs i think script need update,so i need help.

Here is the code:

Code:
local nplayerpos = {x=398, y=1385, z=9}
function onStepIn(cid, item, position, fromPosition)
      doSendMagicEffect(getPlayerPosition(cid), 2)
      doTeleportThing(cid,newpos)
      doSendMagicEffect(newpos,10)
end


for helping rep +++ :)
 
My Script.
its 100% Works.. ;D

function onUse(cid, item, frompos, item2, topos)
gatepos = {x=398, y=1385, z=9, stackpos=1}
getgate = getThingfromPos(gatepos)
if item.itemid == 1409 then
doTeleportThing(cid, gatepos)
doSendMagicEffect(gatepos, 10)
end
return 1
end

You new script..
NOT TESTED
function onStepIn(cid, item, position, fromPosition)
nplayerpos = {x=398, y=1385, z=9, stackpos=1}
getgate = getThingfromPos(nplayerpos)
doTeleportThing(cid,nplayerpos)
doSendMagicEffect(nplayerpos, 2)
end

Thanks,
LordiN
 
Back
Top