Player::id

From RAGE Multiplayer Wiki
Revision as of 14:32, 11 September 2016 by Ragempdev (talk | contribs)

This property is the id of a player.
Note: this property is read-only.

Example

mp.events.add(
{
    "playerJoin" : player =>
    {
         console.log("Player ID: " + player.id);
    }
});