resetPedLastVehicle
RESET_PED_LAST_VEHICLE0xBB8DE8CF6A8DD8BBThe GTA V native RESET_PED_LAST_VEHICLE of the PED namespace, as LS:MP client scripts call it: the global function resetPedLastVehicle, in JavaScript and in Lua.
resetPedLastVehicle(ped: Ped): voidresetPedLastVehicle(ped: Ped)Usage
JavaScript
resetPedLastVehicle(ped);Lua
resetPedLastVehicle(ped)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | 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.
Resets the value for the last vehicle driven by the Ped.
Reference
- Namespace
- Ped PED
- In the game
void RESET_PED_LAST_VEHICLE(Ped ped)- Hash
0xBB8DE8CF6A8DD8BB