GetPlayerSkin

From NPC for VCMP 0.4 Servers
Jump to navigation Jump to search


Description:
This will return the skin of the specified player


Parameters:

( playerId)

playerId: The ID of the player whose skin is to be obtained.


Return Values:
-1, if the player is not connected. Otherwise returns the skinId of the player.


Example

if(IsPlayerStreamedIn(playerId))
{
	print( "Player ID: "+playerId+" Skin: "+GetPlayerSkin( playerId ) +"\n" );
}

Related Functions

The following functions may be helpful as they relate to this function in one way or another.