SA-MP Forums Archive
SetPlayerPos under ground - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: SetPlayerPos under ground (/showthread.php?tid=512778)



SetPlayerPos under ground - Koala818 - 12.05.2014

So i made a new "interior" somewhere under z=0. The lowest value of the z of a created object is "-72.05". It works generally, but sometimes, when i try to teleport in that interior, it puts me on the same x,y coordinates but at z>0;

Any ideas for fixing this? I can only rise the value of al z's coordinates by 15-20 maximum because the higher value of z is now -40 and i don't want to grow this at >-20.

Thanks in advance.


Re: SetPlayerPos under ground - Aerotactics - 12.05.2014

Once you're below ~y = -40, the player teleports back to land. There's nothing oyu can do to fix that. And if your map is under -72, it would be pitch black.