SA-MP Forums Archive
interior/teleports problem - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: interior/teleports problem (/showthread.php?tid=147923)



interior/teleports problem - Kar - 15.05.2010

hey erm I need help with getting the correct interior.. i got the posy posz and posx but when i teleport there its always from far in the sky or under the earth and i die help... need INTERIOR position


Re: interior/teleports problem - PotH3Ad - 15.05.2010

Go in the interior you want to get and type '/interior', it should give you the interior id you are currently in.


Re: interior/teleports problem - Kar - 15.05.2010

it gives 0. i put zero in the setplayerinterior(playerid,0); and when i tele i end up HIGH in the sky ,and fall to death..


Re: interior/teleports problem - PotH3Ad - 15.05.2010

Are you setting the player's position above created objects?


Re: interior/teleports problem - Kar - 15.05.2010

no. ok say like you start off. i type /save get the position then type /interior and it says current interior 0 i type in SetPlayerPos(playerid,331.4443,1528.5541,75.0159);
SetPlayerInterior(playerid,(0);

and when i type in /drift1 it carrys me to a place right near where i typed save and i fall..


Re: interior/teleports problem - Retardedwolf - 15.05.2010

SetPlayerPos(playerid,332,1528.5541,75.0159);

Try that might work.