setPedSteersAroundPeds
SET_PED_STEERS_AROUND_PEDS0x46F2193B3AD1D891The GTA V native SET_PED_STEERS_AROUND_PEDS of the PED namespace, as LS:MP client scripts call it: the global function setPedSteersAroundPeds, in JavaScript and in Lua.
setPedSteersAroundPeds(ped: Ped, toggle: boolean): voidsetPedSteersAroundPeds(ped: Ped, toggle: boolean)Usage
JavaScript
setPedSteersAroundPeds(ped, toggle);Lua
setPedSteersAroundPeds(ped, toggle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
toggle | BOOL | boolean | boolean |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Ped PED
- In the game
void SET_PED_STEERS_AROUND_PEDS(Ped ped, BOOL toggle)- Hash
0x46F2193B3AD1D891