isVehicleStuckTimerUp
IS_VEHICLE_STUCK_TIMER_UP0x679BE1DAF71DA874The GTA V native IS_VEHICLE_STUCK_TIMER_UP of the VEHICLE namespace, as LS:MP client scripts call it: the global function isVehicleStuckTimerUp, in JavaScript and in Lua.
isVehicleStuckTimerUp(vehicle: Vehicle, p1: number, ms: number): booleanisVehicleStuckTimerUp(vehicle: Vehicle, p1: integer, ms: integer): booleanUsage
JavaScript
const result = isVehicleStuckTimerUp(vehicle, p1, ms);Lua
local result = isVehicleStuckTimerUp(vehicle, p1, ms)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
vehicle | Vehicle | number | integer |
p1 | int | number | integer |
ms | int | number | integer |
Returns
BOOL JavaScript boolean, Lua booleanNotes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
p1 can be anywhere from 0 to 3 in the scripts.
p2 being how long in milliseconds the vehicle has been stuck
Reference
- Namespace
- Vehicle VEHICLE
- In the game
BOOL IS_VEHICLE_STUCK_TIMER_UP(Vehicle vehicle, int p1, int ms)- Hash
0x679BE1DAF71DA874