IS_VEHICLE_DOOR_FULLY_OPEN
Returns true if door doorId of vehicle is fully open.
Signature
BOOL IS_VEHICLE_DOOR_FULLY_OPEN(Vehicle vehicle, int doorId); // 0x7AE191143C7A9107 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | vehicle | Vehicle |
| 2 | doorId | int |
Facts
| Name | IS_VEHICLE_DOOR_FULLY_OPEN |
|---|---|
| Hash | 0x7AE191143C7A9107 |
| Namespace | |
| Returns | BOOL |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0x7AE191143C7A9107, -- IS_VEHICLE_DOOR_FULLY_OPEN
0, -- Vehicle vehicle
0 -- int doorId
)
if result then
-- ...
endconst result = Citizen.invokeNative("0x7AE191143C7A9107", // IS_VEHICLE_DOOR_FULLY_OPEN
0, // Vehicle vehicle
0, // int doorId
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0x7AE191143C7A9107, // IS_VEHICLE_DOOR_FULLY_OPEN
0, // Vehicle vehicle
0 // int doorId
);Related VEHICLE natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.