RedM Natives

IS_DRAFT_VEHICLE

Hash0xEA44E97849E9F3DD
Runtime nameIsDraftVehicle
NamespaceVEHICLE
SideClient
NameOfficial
Docs
Since build1207

Signature

BOOL IS_DRAFT_VEHICLE(Vehicle vehicle);

Parameters

NameTypeDescription
vehicleVehicle—

Returns BOOL

Usage

Lua
local retval = IsDraftVehicle(vehicle)

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

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

See also

Sources

alloc8or RDR3 NativeDB

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