RedM Natives

IS_VEHICLE_STUCK_TIMER_UP

VEH_STUCK_ON_SIDE, VEH_STUCK_HUNG_UP, VEH_STUCK_JAMMED

Hash0x1ABA9753939503C5
Runtime nameIsVehicleStuckTimerUp
NamespaceVEHICLE
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x679BE1DAF71DA874

Signature

BOOL IS_VEHICLE_STUCK_TIMER_UP(Vehicle vehicle, int stuckType, int ms);

Parameters

NameTypeDescription
vehicleVehicle—
stuckTypeint—
msint—

Returns BOOL

Description

VEH_STUCK_ON_ROOF = 0,
VEH_STUCK_ON_SIDE,
VEH_STUCK_HUNG_UP,
VEH_STUCK_JAMMED

Usage

Lua
local retval = IsVehicleStuckTimerUp(vehicle, stuckType, ms)

-- always works, by hash
local retval = Citizen.InvokeNative(0x1ABA9753939503C5, vehicle, stuckType, ms, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = IsVehicleStuckTimerUp(vehicle, stuckType, ms);

// by hash
const retval = Citizen.invokeNative('0x1ABA9753939503C5', vehicle, stuckType, ms, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0x1ABA9753939503C5, vehicle, stuckType, ms);

Sources

alloc8or RDR3 NativeDB

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