GetPlayerSkin: Difference between revisions

m
Renamed constants.
No edit summary
Tag: Source edit
m (Renamed constants.)
Tag: Source edit
 
(One intermediate revision by the same user not shown)
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_ACTUAL (3)'''
:* '''PLAYERSKIN_VISIBLE (3)'''
::The skin that is actually being displayed.
::The skin that is currently visible.


=== Return value ===
=== Return value ===