IS_VEHICLE_STUCK_TIMER_UP
VEH_STUCK_ON_SIDE, VEH_STUCK_HUNG_UP, VEH_STUCK_JAMMED
Hash
0x1ABA9753939503C5Runtime name
IsVehicleStuckTimerUpNamespaceVEHICLE
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x679BE1DAF71DA874Signature
BOOL IS_VEHICLE_STUCK_TIMER_UP(Vehicle vehicle, int stuckType, int ms);Parameters
| Name | Type | Description |
|---|---|---|
vehicle | Vehicle | — |
stuckType | int | — |
ms | int | — |
Returns BOOL
Description
VEH_STUCK_ON_ROOF = 0,
VEH_STUCK_ON_SIDE,
VEH_STUCK_HUNG_UP,
VEH_STUCK_JAMMED
Usage
local retval = IsVehicleStuckTimerUp(vehicle, stuckType, ms)
-- always works, by hash
local retval = Citizen.InvokeNative(0x1ABA9753939503C5, vehicle, stuckType, ms, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = IsVehicleStuckTimerUp(vehicle, stuckType, ms);
// by hash
const retval = Citizen.invokeNative('0x1ABA9753939503C5', vehicle, stuckType, ms, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0x1ABA9753939503C5, vehicle, stuckType, ms);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.