VehicleClient

clearLastDrivenVehicle

CLEAR_LAST_DRIVEN_VEHICLE0xE01903C47C7AC89E

The GTA V native CLEAR_LAST_DRIVEN_VEHICLE of the VEHICLE namespace, as LS:MP client scripts call it: the global function clearLastDrivenVehicle, in JavaScript and in Lua.

SignatureJavaScript
clearLastDrivenVehicle(): void
SignatureLua
clearLastDrivenVehicle()

Usage

JavaScript
clearLastDrivenVehicle();
Lua
clearLastDrivenVehicle()

Parameters

None.

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Vehicle VEHICLE
In the game
void CLEAR_LAST_DRIVEN_VEHICLE()
Hash
0xE01903C47C7AC89E

Open in the interactive natives reference