| Property | Value |
|---|---|
| Native Name | SET_ALL_RANDOM_PEDS_FLEE |
| Hash | 0x056E0FE8534C2949 |
| Return Type | void |
| Parameters | player (Player), toggle (BOOL) |
Description: 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
player(Player) — The Player ID for whom you want to set this behavior.toggle(BOOL) — true/false.