alt.Player.local.id

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

Syntax

readonly id: number;

Example Usage

const localPlayerID = alt.Player.local.id;

alt.Player.local can also be a player instance from server

results matching ""

    No results matching ""