Entity::getVariable
Function: Gets a custom data from an entity.
Syntax
value entity.getVariable(name); // Returns null if key 'name' does not exist.
Example
Shared
// Supposed you want to get a vehicle you bound with a player
let veh = player.getVariable('veh');