SetAllRandomPedsFlee — FiveM Natives
0x056E0FE8534C2949 · PLAYER · all
Sets whether all random peds will run away from the player if they are agitated (threatened) (bool=true), or if they will stand their ground (bool=false).
Parameters
| Name | Type | Description |
|---|---|---|
| player | Player | The Player ID for whom you want to set this behavior. |
| toggle | BOOL | true/false. |
Returns
void