GetPlayerSkin

Description

Returns the class of the players skin

NameDescription
playeridThe player you want to get the skin from

Returns

The skin id (0 if invalid)

Examples

playerskin = GetPlayerSkin(playerid);

Notes

tip

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.

Related Functions