PedClient

setPedSteersAroundDeadBodies

SET_PED_STEERS_AROUND_DEAD_BODIES0x2016C603D6B8987C

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

SignatureJavaScript
setPedSteersAroundDeadBodies(ped: Ped, toggle: boolean): void
SignatureLua
setPedSteersAroundDeadBodies(ped: Ped, toggle: boolean)

Usage

JavaScript
setPedSteersAroundDeadBodies(ped, toggle);
Lua
setPedSteersAroundDeadBodies(ped, toggle)

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger
toggleBOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Ped PED
In the game
void SET_PED_STEERS_AROUND_DEAD_BODIES(Ped ped, BOOL toggle)
Hash
0x2016C603D6B8987C

Open in the interactive natives reference