Player::getProp: Difference between revisions

From RAGE Multiplayer Wiki
(Created page with "This function returns a props of player. == Syntax == <syntaxhighlight lang="javascript"> let prop = player.getProp(Number propID) </syntaxhighlight>")
 
No edit summary
Line 4: Line 4:
let prop = player.getProp(Number propID)
let prop = player.getProp(Number propID)
</syntaxhighlight>
</syntaxhighlight>
Props:
* 0 - Helmets, hats, earphones, masks
* 1 - Glasses
* 2 - Ear accessories

Revision as of 18:38, 4 January 2017

This function returns a props of player.

Syntax

let prop = player.getProp(Number propID)

Props:

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