IS_VEHICLE_STUCK_TIMER_UP
Returns true if vehicle has been stuck in the given way for at least ms milliseconds.
Signature
BOOL IS_VEHICLE_STUCK_TIMER_UP(Vehicle vehicle, int stuckType, int ms); // 0x1ABA9753939503C5 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | vehicle | Vehicle |
| 2 | stuckType | int |
| 3 | ms | int |
Facts
| Name | IS_VEHICLE_STUCK_TIMER_UP |
|---|---|
| Hash | 0x1ABA9753939503C5 |
| 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(0x1ABA9753939503C5, -- IS_VEHICLE_STUCK_TIMER_UP
0, -- Vehicle vehicle
0, -- int stuckType
0 -- int ms
)
if result then
-- ...
endconst result = Citizen.invokeNative("0x1ABA9753939503C5", // IS_VEHICLE_STUCK_TIMER_UP
0, // Vehicle vehicle
0, // int stuckType
0, // int ms
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0x1ABA9753939503C5, // IS_VEHICLE_STUCK_TIMER_UP
0, // Vehicle vehicle
0, // int stuckType
0 // int ms
);Related VEHICLE natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.