-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update SetAllRandomPedsFlee.md #779
Conversation
I gave the description of this command.
@@ -8,6 +8,7 @@ ns: PLAYER | |||
void SET_ALL_RANDOM_PEDS_FLEE(Player player, BOOL toggle); | |||
``` | |||
|
|||
Sets whether all random peds will run away from player if one attacks or harasses them (bool=true), or some peds can stand up for themselves (bool=false). | |||
|
|||
## Parameters |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mind giving the parameters a description to wrap this up? Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mind giving the parameters a description to wrap this up? Thanks!
Done!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great, if you can, do please take a look at @gottfriedleibniz's comment, he makes a great point.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok=)
Instead of "attacks or harasses them", it may be better to use "agitated" (and/or "threatened") (e.g., "when agitated or threatened by ...") as it uses the same language from gamecode ( |
PLAYER/SetAllRandomPedsFlee.md
Outdated
|
||
## Parameters | ||
* **player**: | ||
* **toggle**: | ||
* **player**: PLAYER::PLAYER_ID() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think "The player to set this to i.e. PlayerId()
" would be a better description.
Some slight corrections regarding the native description and the player parameter.
Correct the description and player parameter once more.
Final touches.
I gave the description of this command. It sets whether all random peds will run away from player if one attacks or harasses them (bool=true), or some peds can stand up for themselves (bool=false).