[HELP] Teleporting into an interior
#5

Quote:
Originally Posted by Healian
Посмотреть сообщение
i want to create a checkpoint when entered the player teleports into the interior ID i want

also i want to know how to create multiple checkpoints
For multiple checkpoints you need a steamer plugin/include. Which can be found here:

forum.sa-mp.com/showthread.php?t=102865/

And now for interiors I did not exactly got what you meant so what have I understood is that you want to know how to make a teleport to the interior with interior id you want.

Well you can make a stock like this:

pawn Код:
stock SetPlayerPosInt( playerid, Float:x, Float:y, Float:z, interior = 0 )
{
          SetPlayerPos( playerid, x, y, z );
          SetPlayerInterior( playerid, interior );
          return 1;
}
pawn Код:
You can now use "SetPlayerPosInt( playerid, x, y,z, 2 ); // 2 is interior you can also use x y z SetPlayerPosInt( playerid, x , y , z );
Or alternatively:

pawn Код:
SetPlayerPos( playerid, x , y , z );
SetPlayerInterior( playerid, 2 ); // 2 is interior I'd you can change it to your own.
Hope this helps.
Reply


Messages In This Thread
[HELP] Teleporting into an interior - by Healian - 11.08.2012, 00:43
Re: [HELP] Teleporting into an interior - by CaRa - 11.08.2012, 00:45
Re: [HELP] Teleporting into an interior - by Ranama - 11.08.2012, 00:48
Re: [HELP] Teleporting into an interior - by SnG.Scot_MisCuDI - 11.08.2012, 00:49
Re: [HELP] Teleporting into an interior - by FalconX - 11.08.2012, 00:53

Forum Jump:


Users browsing this thread: 1 Guest(s)