Player::setEyeColor: Difference between revisions

From RAGE Multiplayer Wiki
No edit summary
No edit summary
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>

Revision as of 16:14, 19 August 2018

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