PedClient

resetPedInVehicleContext

RESET_PED_IN_VEHICLE_CONTEXT0x22EF8FF8778030EB

The GTA V native RESET_PED_IN_VEHICLE_CONTEXT of the PED namespace, as LS:MP client scripts call it: the global function resetPedInVehicleContext, in JavaScript and in Lua.

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

Usage

JavaScript
resetPedInVehicleContext(ped);
Lua
resetPedInVehicleContext(ped)

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Ped PED
In the game
void RESET_PED_IN_VEHICLE_CONTEXT(Ped ped)
Hash
0x22EF8FF8778030EB

Open in the interactive natives reference