Player::setEyeColor: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
No edit summary
Line 1: Line 1:
Used for freemode (online) characters.<br><br>For some reason, the scripts use a rounded float for the index.
= Syntax =
==Syntax==
<pre>player.setEyeColor(index);</pre>
<syntaxhighlight lang="javascript">player.setEyeColor(index);</syntaxhighlight>
= Required Arguments =
=== Required Arguments ===
*'''index:''' int
*'''index:''' int
===Return value===
= Return value =
*'''Undefined'''
*'''Undefined'''
==Example==
= Example =
<syntaxhighlight lang="javascript">
<pre>
// todo
mp.players.local.setEyeColor(1);
</syntaxhighlight>
</pre>
==See also==
= See also =
{{Player_function_c}}
{{Player_function_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:Player Appearance]]

Revision as of 15:57, 19 August 2018

Syntax

player.setEyeColor(index);

Required Arguments

  • index: int

Return value

  • Undefined

Example

mp.players.local.setEyeColor(1);

See also