Player::setEyeColor: Difference between revisions

From RAGE Multiplayer Wiki
No edit summary
m (category)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
= Information =
Set a pedestrians eye color based on the integers between 0 and 31.
= Syntax =
= Syntax =
<pre>player.setEyeColor(index);</pre>
<pre>player.setEyeColor(index);</pre>
Line 11: Line 13:
= See also =
= See also =
{{Player_function_c}}
{{Player_function_c}}
[[Category:Player Appearance]]
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:Player Appearance]]
[[Category:Client-side Function]]

Latest revision as of 13:24, 30 April 2019

Information

Set a pedestrians eye color based on the integers between 0 and 31.

Syntax

player.setEyeColor(index);

Required Arguments

  • index: int

Return value

  • Undefined

Example

mp.players.local.setEyeColor(1);

See also