GetPlayerSkin: Difference between revisions
m
Renamed constants.
m (Renamed GETPLAYERSKIN_ACTUAL to GETPLAYERSKIN_VISIBLE.) Tag: Source edit |
m (Renamed constants.) Tag: Source edit |
||
Line 9: | Line 9: | ||
* ''player'': The player number to get the skin of. | * ''player'': The player number to get the skin of. | ||
* ''type'': Type of skin to retrieve: | * ''type'': Type of skin to retrieve: | ||
:* ''' | :* '''PLAYERSKIN_USERINFO (0)''' | ||
::The player's skin setting (the <code>skin</code> CVar). | ::The player's skin setting (the <code>skin</code> CVar). | ||
:* ''' | :* '''PLAYERSKIN_WEAPON (1)''' | ||
::The preferred skin of the player's current weapon, as defined with [[DECORATE#Actor_properties|Weapon.PreferredSkin]]. | ::The preferred skin of the player's current weapon, as defined with [[DECORATE#Actor_properties|Weapon.PreferredSkin]]. | ||
:* ''' | :* '''PLAYERSKIN_ACS (2)''' | ||
::The player's skin as set by [[SetPlayerSkin]]. | ::The player's skin as set by [[SetPlayerSkin]]. | ||
:* ''' | :* '''PLAYERSKIN_VISIBLE (3)''' | ||
::The skin that is currently visible. | ::The skin that is currently visible. | ||