player.id

Description

Get the player's identification number for server or client-side.

Syntax

readonly id: number;

Real World Example

const id = player.id;
console.log(player.id);

results matching ""

    No results matching ""