GET_LAST_DRIVEN_VEHICLE
Hash
0xA94F3E0AB9695E19Runtime name
GetLastDrivenVehicleNamespaceVEHICLE
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0xB2D06FAEDE65B577Signature
Vehicle GET_LAST_DRIVEN_VEHICLE();Returns Vehicle
Usage
local retval = GetLastDrivenVehicle()
-- always works, by hash
local retval = Citizen.InvokeNative(0xA94F3E0AB9695E19, Citizen.ResultAsInteger())JavaScript and C#
const retval = GetLastDrivenVehicle();
// by hash
const retval = Citizen.invokeNative('0xA94F3E0AB9695E19', Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0xA94F3E0AB9695E19);See also
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.