Skip to content

Commit

Permalink
some fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
coalaura committed Aug 28, 2024
1 parent d82e3cc commit db560a3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
3 changes: 1 addition & 2 deletions PED/IsPedUsingAnyScenario.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@ ns: PED
BOOL IS_PED_USING_ANY_SCENARIO(Ped ped);
```
Returns true if the ped is using any scenario.
## Parameters
* **ped**: The ped handle.
## Return value
Returns true if the ped is using any scenario.
3 changes: 2 additions & 1 deletion PED/IsPedUsingScenario.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@ ns: PED
BOOL IS_PED_USING_SCENARIO(Ped ped, char* scenario);
```
Returns true if the specified ped is using the specified scenario. See [`TASK_START_SCENARIO_IN_PLACE`](#_0x142A02425FF02BD9) for a list of scenarios.
See [`TASK_START_SCENARIO_IN_PLACE`](#_0x142A02425FF02BD9) for a list of scenarios.
## Parameters
* **ped**: The ped handle.
* **scenario**: The scenario name.
## Return value
Returns true if the specified ped is using the specified scenario.
2 changes: 1 addition & 1 deletion TASK/IsPedActiveInScenario.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ns: TASK
BOOL IS_PED_ACTIVE_IN_SCENARIO(Ped ped);
```
This is a stricter version of [`IS_PED_USING_ANY_SCENARIO`](#_0x57AB4A3080F85143)
This is a stricter version of [`IS_PED_USING_ANY_SCENARIO`](#_0x57AB4A3080F85143). It only returns true if the ped is playing the ambient animations associated with the scenario.
## Parameters
* **ped**: The ped handle.
Expand Down

0 comments on commit db560a3

Please sign in to comment.