SA-MP Forums Archive
Won't teleport me to underground map interior - 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: Won't teleport me to underground map interior (/showthread.php?tid=463949)



Won't teleport me to underground map interior - AphexCCFC - 14.09.2013

Hello. My brother made me a bank map under the ground but when I SetPlayerPos to the coords there it only spawns me on top of the ground and not underneath into the new interior. Any idea why?


Re: Won't teleport me to underground map interior - Jason_Roul - 14.09.2013

Couldn't you just move everything above? Lol, also you might be setting the wrong pos, can you give me the /saved pos from savedpositions?


Re: Won't teleport me to underground map interior - AphexCCFC - 14.09.2013

I don't think it's that easy now

One of the objects coords are here (underground in Las Venturas):

pawn Код:
CreateObject(19458, 1807.64929, 1048.37683, -182.02609,   0.00000, 90.00000, 91.00000);
So I make the command:

pawn Код:
CMD:bankmap(playerid, params[])
{
    SetPlayerPos(playerid, 1807.64929, 1048.37683, -182.02609);
    return 1;
}
And it only spawns me above Las Venturas ground.


Re: Won't teleport me to underground map interior - AphexCCFC - 14.09.2013

My brother is using this map editor:

http://forum.sa-mp.com/showthread.ph...84#post1399384

He cannot find a way to select all the objects he has created and move them above ground.


Re: Won't teleport me to underground map interior - Blast3r - 14.09.2013

Quote:
Originally Posted by AphexCCFC
Посмотреть сообщение
My brother is using this map editor:

http://forum.sa-mp.com/showthread.ph...84#post1399384

He cannot find a way to select all the objects he has created and move them above ground.
There is no way to select all objects and move them (at least I don't think so), however you can edit the "Z" offset, that's the third one, just increase it to like 1500.00 or something. (Make sure it's over 1000 so ppl can't see it or fly with their plane into it). And yeah do it with all the objects.


Re: Won't teleport me to underground map interior - Mark_Samp - 14.09.2013

Look don't make it from the objects for example if you are using Editor set the view on :
PHP код:
1807.649291048.37683, -182.02609 
Now press on Test and go stand in the place you want like infront of the door and type /save then open Documents - GTA San Andreas User Files - SAMP - savedpositions , take the coordinates and put them or try to find the interior that your brother mapped and use
PHP код:
SetPlayerInterior(playerid0); //Change the 0 with your brother interior