RedM Natives

GET_IS_VEHICLE_SECONDARY_COLOUR_CUSTOM

Hash0x288AD228
Runtime nameGetIsVehicleSecondaryColourCustom
NamespaceCFX
SideServer
NameOfficial
Docs

Signature

BOOL GET_IS_VEHICLE_SECONDARY_COLOUR_CUSTOM(Vehicle vehicle);

Parameters

NameTypeDescription
vehicleVehicle—

Returns BOOL

Usage

Lua
local retval = GetIsVehicleSecondaryColourCustom(vehicle)

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

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

Sources

Cfx.re native reference

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