Entity::getVariable
Jump to navigation
Jump to search
Retrieves the custom data from the entity.
Syntax
entity.getVariable('variableName');
Example
This example will retrieve the data from the variable 'veh' that is assigned to the player
Shared
let veh = player.getVariable('veh');