PedClient

resetPedLastVehicle

RESET_PED_LAST_VEHICLE0xBB8DE8CF6A8DD8BB

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

SignatureJavaScript
resetPedLastVehicle(ped: Ped): void
SignatureLua
resetPedLastVehicle(ped: Ped)

Usage

JavaScript
resetPedLastVehicle(ped);
Lua
resetPedLastVehicle(ped)

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger

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

Open in the interactive natives reference