GetPlayerSkin

From SA-MP Wiki

Jump to: navigation, search


Description:

Returns the class of the players skin


Parameters:
(playerid)
playeridThe player you want to get the skin from


Return Values:

The skin id (0 if invalid)


Image:32px-Ambox_warning_orange.png

Notes

  • 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.


Example Usage:

playerskin = GetPlayerSkin(playerid);

Related Functions

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

Personal tools
Navigation
Toolbox
In other languages