Jump to content

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:
:* '''GETPLAYERSKIN_USERINFO (0)'''
:* '''PLAYERSKIN_USERINFO (0)'''
::The player's skin setting (the <code>skin</code> CVar).
::The player's skin setting (the <code>skin</code> CVar).
:* '''GETPLAYERSKIN_WEAPON (1)'''
:* '''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]].
:* '''GETPLAYERSKIN_ACS (2)'''
:* '''PLAYERSKIN_ACS (2)'''
::The player's skin as set by [[SetPlayerSkin]].
::The player's skin as set by [[SetPlayerSkin]].
:* '''GETPLAYERSKIN_VISIBLE (3)'''
:* '''PLAYERSKIN_VISIBLE (3)'''
::The skin that is currently visible.
::The skin that is currently visible.