Entity::getVariable
Function: Gets a custom data from an entity.
Syntax
value entity.getVariable(name);
Example
Server-Side
// Supposed you want to get a vehicle you bound with a player
let veh = player.getVariable('veh');
Function: Gets a custom data from an entity.
value entity.getVariable(name);
Server-Side
// Supposed you want to get a vehicle you bound with a player
let veh = player.getVariable('veh');