GetPlayerSkin: Difference between revisions
m
Renamed constants.
DrinkyBird (talk | contribs) (Documented GetPlayerSkin) Tag: Source edit |
m (Renamed constants.) Tag: Source edit |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 7: | Line 7: | ||
=== Parameters === | === Parameters === | ||
* ''player'': The player number to get the | * ''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. | ::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 | ::The skin that is currently visible. | ||
=== Return value === | === Return value === | ||
Line 23: | Line 23: | ||
== Examples == | == Examples == | ||
{{noexamples}} | {{noexamples}} | ||
== See also == | |||
* [[SetPlayerSkin]] | |||
[[Category: ACS functions]] | [[Category: ACS functions]] |