RedM Natives

IS_VEHICLE_EXTRA_TURNED_ON

Hash0xFA9A55D9C4351625
Runtime nameIsVehicleExtraTurnedOn
NamespaceVEHICLE
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xD2E6822DBFD6C8BD

Signature

BOOL IS_VEHICLE_EXTRA_TURNED_ON(Vehicle vehicle, int extraId);

Parameters

NameTypeDescription
vehicleVehicle—
extraIdint—

Returns BOOL

Usage

Lua
local retval = IsVehicleExtraTurnedOn(vehicle, extraId)

-- always works, by hash
local retval = Citizen.InvokeNative(0xFA9A55D9C4351625, vehicle, extraId, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = IsVehicleExtraTurnedOn(vehicle, extraId);

// by hash
const retval = Citizen.invokeNative('0xFA9A55D9C4351625', vehicle, extraId, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0xFA9A55D9C4351625, vehicle, extraId);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.