setPedPathAvoidFire
SET_PED_PATH_AVOID_FIRE0x4455517B28441E60The GTA V native SET_PED_PATH_AVOID_FIRE of the TASK namespace, as LS:MP client scripts call it: the global function setPedPathAvoidFire, in JavaScript and in Lua.
setPedPathAvoidFire(ped: Ped, avoidFire: boolean): voidsetPedPathAvoidFire(ped: Ped, avoidFire: boolean)Usage
JavaScript
setPedPathAvoidFire(ped, avoidFire);Lua
setPedPathAvoidFire(ped, avoidFire)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
avoidFire | BOOL | boolean | boolean |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Tasks TASK
- In the game
void SET_PED_PATH_AVOID_FIRE(Ped ped, BOOL avoidFire)- Hash
0x4455517B28441E60