Posts: 2,938
Threads: 162
Joined: May 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
Posts: 285
Threads: 8
Joined: Jul 2008
Reputation:
0
Go in the interior you want to get and type '/interior', it should give you the interior id you are currently in.
Posts: 2,938
Threads: 162
Joined: May 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..
Posts: 285
Threads: 8
Joined: Jul 2008
Reputation:
0
Are you setting the player's position above created objects?
Posts: 2,938
Threads: 162
Joined: May 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..
Posts: 1,466
Threads: 7
Joined: Jun 2009
Reputation:
0
SetPlayerPos(playerid,332,1528.5541,75.0159);
Try that might work.