Teleport to interiors
#6

Quote:
Originally Posted by sizeof(Sky));
You need to find out the coordinates of the interior, and then SetPlayerPos them to the coordinates, and then set their interior using SetPlayerInterior(playerid, interiorid);
Quote:
Originally Posted by ►Peter Corneile [ideal-host.co.uk
◄ ]
pawn Код:
public OnPlayerEnterCheckpoint(playerid)
{
    SetPlayerPos(playerid,1380,-22,1008);
    SetPlayerInterior(playerid,interiorid); //interior id of the teleport place
    return 1;
}
Quote:
Originally Posted by Donny
You are best setting the interior first so you don't have an issue with falling through the floor (sometimes).
Quote:
Originally Posted by ►ϻozilla Fir3foж◄
http://weedarr.wikidot.com/interior
For list of available interiors.
Thanks to all, it worked
Reply


Messages In This Thread
Teleport to interiors - by Freddy Z - 11.11.2009, 15:27
Re: Teleport to interiors - by (.Aztec); - 11.11.2009, 15:35
Re: Teleport to interiors - by Peter_Corneile - 11.11.2009, 15:38
Re: Teleport to interiors - by [XST]O_x - 11.11.2009, 15:43
Re: Teleport to interiors - by Donny_k - 11.11.2009, 15:44
Re: Teleport to interiors - by Freddy Z - 11.11.2009, 16:13
Re: Teleport to interiors - by dirkblok - 11.11.2009, 16:16

Forum Jump:


Users browsing this thread: 1 Guest(s)