GetPlayerSkin

From NPC for VCMP 0.4 Servers
Revision as of 08:20, 23 December 2022 by Habi (talk | contribs) (Created page with "{{Welcome| desc=This will return the skin of the specified player| params=<syntaxhighlight lang="lua">( playerId)</syntaxhighlight> <poem>::playerId: The ID of the player whos...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.