_IS_VEHICLE_DOOR_BROKEN
Hash
0xE979BB5602AD3402Runtime name
IsVehicleDoorBrokenNamespaceVEHICLE
SideClient
NameCommunity guess
Docs
Since build1207
Signature
BOOL _IS_VEHICLE_DOOR_BROKEN(Vehicle vehicle, int doorId);Parameters
| Name | Type | Description |
|---|---|---|
vehicle | Vehicle | — |
doorId | int | — |
Returns BOOL
Description
doorId: see SET_VEHICLE_DOOR_SHUT
Usage
local retval = IsVehicleDoorBroken(vehicle, doorId)
-- always works, by hash
local retval = Citizen.InvokeNative(0xE979BB5602AD3402, vehicle, doorId, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = IsVehicleDoorBroken(vehicle, doorId);
// by hash
const retval = Citizen.invokeNative('0xE979BB5602AD3402', vehicle, doorId, Citizen.returnResultAnyway());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
InvokeNativewith the hash — it always works.
See also
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.