Player::id: Difference between revisions

From RAGE Multiplayer Wiki
No edit summary
m (Redirected page to Entity::id)
Tag: New redirect
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
This property is the id of a player.
#REDIRECT [[Entity::id]]
<br/>
'''Note: this property is read-only.'''
 
==Example==
<source lang="javascript">
mp.events.add(
{
    "playerJoin" : player =>
    {
        console.log("Player ID: " + player.id);
    }
});
</source>

Latest revision as of 09:47, 30 April 2019

Redirect to: