Player::id: Difference between revisions
No edit summary |
No edit summary |
||
| Line 13: | Line 13: | ||
}); | }); | ||
</source> | </source> | ||
[[Category:Player]] | |||
Revision as of 21:28, 27 March 2019
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);
}
});