SetPlayerInterior
From SA-MP Wiki
SetPlayerInterior
Change the player's current interior. A list of currently known interiors with their positions can be found on this page.
(playerid,interiorid)
| playerid | The player you want to change the interior of. |
| interiorid | The new interior ID (or Universe ID) for the player. |
This function does not return a specific value.
//Set player to default interior SetPlayerInterior(playerid, 0);
Related Functions
The following functions might be useful as well, as they're related to this function in one way or another.
- GetPlayerInterior: Get a player's current interior.
- LinkVehicleToInterior: Change the interior that a vehicle is seen in.
