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

TFS 1.X+ tfs 1.3 after traveling via boat the player is not displaying the "teleport effect".

Felipe93

Ghost Member
Joined
Mar 21, 2015
Messages
1,990
Solutions
9
Reaction score
334
Location
Chile
Hello Comunnity

I'm in the seek of help im stuck on this. The thing is that after traveling via boat it should appear an " teleport effect" on the player thing that is not happening.
(it's not displaying effect at all)
im getting this error in console
modules.lua:227: attempt to call method 'doSendMagicEffect' (a nil value)

which is related to something like this
player:getPosition():sendMagicEffect(CONST_ME_TELEPORT)
player:teleportTo(destination)
destination:sendMagicEffect(CONST_ME_TELEPORT)

i tried changing sendMagicEffect(CONST_ME_TELEPORT) for this sendMagicEffect(newpos, 11) but its not working either

sorry if i didn't use the code attachment app but it ain't working
 
Last edited:
Back
Top