Player::id: Difference between revisions
(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 => {...") |
No edit summary |
||
| Line 1: | Line 1: | ||
This property is the id of a player. | This property is the id of a player. | ||
<br/> | |||
'''Note: this property is read-only.''' | '''Note: this property is read-only.''' | ||
Revision as of 14:32, 11 September 2016
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);
}
});