GET_PLAYERS_LAST_VEHICLE
Returns the last vehicle used by the local player.
Signature
Vehicle GET_PLAYERS_LAST_VEHICLE(); // 0x2F96E7720B0B19EA b1207Parameters
This native takes no parameters.
Facts
| Name | GET_PLAYERS_LAST_VEHICLE |
|---|---|
| Hash | 0x2F96E7720B0B19EA |
| Namespace | |
| Returns | Vehicle |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local vehicle = Citizen.InvokeNative(0x2F96E7720B0B19EA, -- GET_PLAYERS_LAST_VEHICLE
Citizen.ResultAsInteger()
)
print(vehicle)const vehicle = Citizen.invokeNative("0x2F96E7720B0B19EA", // GET_PLAYERS_LAST_VEHICLE
Citizen.resultAsInteger()
);
console.log(vehicle)int vehicle = Function.Call<int>((Hash)0x2F96E7720B0B19EA); // GET_PLAYERS_LAST_VEHICLERelated PLAYER natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.