SetPlayerInterior
From SA-MP Wiki
(Difference between revisions)
Revision as of 16:54, 28 October 2013 Badio12 (Talk | contribs) ← Previous diff |
Revision as of 04:44, 2 February 2014 Connor Mead (Talk | contribs) (add fr link) Next diff → |
||
Line 19: | Line 19: | ||
[[Category:Scripting Functions]] | [[Category:Scripting Functions]] | ||
- | [[pt:SetPlayerInterior]] | + | |
[[de:SetPlayerInterior]] | [[de:SetPlayerInterior]] | ||
+ | [[fr:SetPlayerInterior]] | ||
+ | [[pt:SetPlayerInterior]] |
Revision as of 04:44, 2 February 2014
Description:
Set the player's interior. A list of currently known interiors and their positions can be found here.
(playerid, interiorid)
playerid | The ID of the player to setthe interior of. |
interiorid | The interior ID to set the player in. |
Return Values:
This function does not return any specific values.
// 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.
- GetPlayerInterior: Get the current interior of a player.
- LinkVehicleToInterior: Change the interior that a vehicle is seen in.