SetPlayerInterior

SetPlayerInterior

Description:
Function SetPlayerInterior set a player's interior. A list of currently known interiors and their positions can be found here.


Parameters:
(playerid, interiorid)
int playerid The ID of the player to set the interior of.
int interiorid The interior ID to set the player in.


Return Values:
  • 1: The function was executed successfully.
  • 0: The function failed to execute. This means the player is not connected.


Examples:
// Set player to default interior (outside)
SetPlayerInterior(playerid, 0);


Related Functions
The following functions may be useful, as they are related to this function in one way or another.


Related Callbacks
The following callbacks might be useful as well, as they are related to this callback in one way or another.