Ugrás a fő tartalomhoz

SetPlayerInterior

Description

Set a player's interior. A list of currently known interiors and their positions can be found here.

NameDescription
playeridThe ID of the player to set the interior of.
interioridThe interior ID to set the player in.

Returns

true - The function executed successfully.

false - The function failed to execute. This means the player is not connected.

Examples

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