RedM Natives

_IS_VEHICLE_DOOR_BROKEN

Hash0xE979BB5602AD3402
Runtime nameIsVehicleDoorBroken
NamespaceVEHICLE
SideClient
NameCommunity guess
Docs
Since build1207

Signature

BOOL _IS_VEHICLE_DOOR_BROKEN(Vehicle vehicle, int doorId);

Parameters

NameTypeDescription
vehicleVehicle—
doorIdint—

Returns BOOL

Description

Usage

Lua
local retval = IsVehicleDoorBroken(vehicle, doorId)

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

// by hash
const retval = Citizen.invokeNative('0xE979BB5602AD3402', vehicle, doorId, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0xE979BB5602AD3402, vehicle, doorId);
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

See also

Sources

alloc8or RDR3 NativeDB

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