IS_VEHICLE_EXTRA_TURNED_ON
Hash
0xFA9A55D9C4351625Runtime name
IsVehicleExtraTurnedOnNamespaceVEHICLE
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0xD2E6822DBFD6C8BDSignature
BOOL IS_VEHICLE_EXTRA_TURNED_ON(Vehicle vehicle, int extraId);Parameters
| Name | Type | Description |
|---|---|---|
vehicle | Vehicle | — |
extraId | int | — |
Returns BOOL
Usage
local retval = IsVehicleExtraTurnedOn(vehicle, extraId)
-- always works, by hash
local retval = Citizen.InvokeNative(0xFA9A55D9C4351625, vehicle, extraId, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = IsVehicleExtraTurnedOn(vehicle, extraId);
// by hash
const retval = Citizen.invokeNative('0xFA9A55D9C4351625', vehicle, extraId, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0xFA9A55D9C4351625, vehicle, extraId);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.