Entity::id
This property using for getting an entity id. ID is a unique identifier of the entity.
Example
Server-Side
const playerID = mp.players.at(1).id;
console.log(playerID); // Player ID, e.g. 1 ( ??? )
This property using for getting an entity id. ID is a unique identifier of the entity.
const playerID = mp.players.at(1).id;
console.log(playerID); // Player ID, e.g. 1 ( ??? )