Player::getProp: Difference between revisions

From RAGE Multiplayer Wiki
No edit summary
No edit summary
Line 1: Line 1:
This function returns a props of player.
This function returns a prop of player.
== Syntax ==
== Syntax ==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">

Revision as of 18:39, 4 January 2017

This function returns a prop of player.

Syntax

let prop = player.getProp(Number propID)

Props:

  • 0 - Helmets, hats, earphones, masks
  • 1 - Glasses
  • 2 - Ear accessories