VehicleClient

resetVehicleStuckTimer

RESET_VEHICLE_STUCK_TIMER0xD7591B0065AFAA7A

The 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.

SignatureJavaScript
resetVehicleStuckTimer(vehicle: Vehicle, nullAttributes: number): void
SignatureLua
resetVehicleStuckTimer(vehicle: Vehicle, nullAttributes: integer)

Usage

JavaScript
resetVehicleStuckTimer(vehicle, nullAttributes);
Lua
resetVehicleStuckTimer(vehicle, nullAttributes)

Parameters

ParameterTypeJavaScriptLua
vehicleVehiclenumberinteger
nullAttributesintnumberinteger

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

Open in the interactive natives reference