Player::id: Difference between revisions

From RAGE Multiplayer Wiki
(Created page with "This property is the id of a player. '''Note: this property is read-only.''' ==Example== <source lang="javascript"> mp.events.add( { "playerJoin" : player => {...")
 
m (Redirected page to Entity::id)
Tag: New redirect
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
This property is the id of a player.
#REDIRECT [[Entity::id]]
'''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: