GetPlayerSkin

GetPlayerSkin

Description:
Function GetPlayerSkin returns the class of the players skin.
  • Returns the new skin after SetSpawnInfo is called but before the player actually respawns to get the new skin.
  • Returns the old skin if the player was spawned through SpawnPlayer function.


Parameters:
(playerid)
int playerid The player you want to get the skin from.


Return Values:
The skin id (0 if invalid)


Examples:
playerskin = GetPlayerSkin(playerid);


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