resetVehicleStuckTimer
RESET_VEHICLE_STUCK_TIMER0xD7591B0065AFAA7AThe GTA V native RESET_VEHICLE_STUCK_TIMER of the VEHICLE namespace, as LS:MP client scripts call it: the global function resetVehicleStuckTimer, in JavaScript and in Lua.
resetVehicleStuckTimer(vehicle: Vehicle, nullAttributes: number): voidresetVehicleStuckTimer(vehicle: Vehicle, nullAttributes: integer)Usage
JavaScript
resetVehicleStuckTimer(vehicle, nullAttributes);Lua
resetVehicleStuckTimer(vehicle, nullAttributes)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
vehicle | Vehicle | number | integer |
nullAttributes | int | number | integer |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Notes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
The inner function has a switch on the second parameter. It's the stuck timer index.
Reference
- Namespace
- Vehicle VEHICLE
- In the game
void RESET_VEHICLE_STUCK_TIMER(Vehicle vehicle, int nullAttributes)- Hash
0xD7591B0065AFAA7A