Skip to content

Commit

Permalink
Update SetAllRandomPedsFlee.md (#779)
Browse files Browse the repository at this point in the history
* Update SetAllRandomPedsFlee.md

I gave the description of this command.

* Update SetAllRandomPedsFlee.md

Some slight corrections regarding the native description and the player parameter.

---------

Co-authored-by: ammonia-cfx <[email protected]>
  • Loading branch information
FarmerKarwer and 4mmonium authored Nov 2, 2023
1 parent aa7738a commit e3a8168
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions PLAYER/SetAllRandomPedsFlee.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ ns: PLAYER
void SET_ALL_RANDOM_PEDS_FLEE(Player player, BOOL toggle);
```
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**:
* **toggle**:
* **player**: The Player ID for whom you want to set this behavior.
* **toggle**: true/false.

0 comments on commit e3a8168

Please sign in to comment.