Entity::getVariable

From RAGE Multiplayer Wiki
Revision as of 01:56, 29 September 2018 by MrPancakers (talk | contribs) (Cleaned up page)

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');

See More