Skip to content

Commit

Permalink
Parameter names for aim task natives (#1185)
Browse files Browse the repository at this point in the history
* Parameter names for aim task natives

* Update TaskAimGunScriptedWithTarget.md

Co-authored-by: Dillon Skaggs <[email protected]>

---------

Co-authored-by: Dillon Skaggs <[email protected]>
  • Loading branch information
coalaura and AvarianKnight authored Sep 11, 2024
1 parent 8e5c126 commit 0336383
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 17 deletions.
6 changes: 3 additions & 3 deletions TASK/TaskAimGunAtCoord.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ns: TASK

```c
// 0x6671F3EEC681BDA1 0xFBF44AD3
void TASK_AIM_GUN_AT_COORD(Ped ped, float x, float y, float z, int time, BOOL p5, BOOL p6);
void TASK_AIM_GUN_AT_COORD(Ped ped, float x, float y, float z, int time, BOOL bInstantBlendToAim, BOOL bPlayAimIntro);
```
Expand All @@ -15,6 +15,6 @@ void TASK_AIM_GUN_AT_COORD(Ped ped, float x, float y, float z, int time, BOOL p5
* **y**:
* **z**:
* **time**:
* **p5**:
* **p6**:
* **bInstantBlendToAim**:
* **bPlayAimIntro**:
4 changes: 2 additions & 2 deletions TASK/TaskAimGunAtEntity.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ns: TASK

```c
// 0x9B53BB6E8943AF53 0xBE32B3B6
void TASK_AIM_GUN_AT_ENTITY(Ped ped, Entity entity, int duration, BOOL p3);
void TASK_AIM_GUN_AT_ENTITY(Ped ped, Entity entity, int duration, BOOL bInstantBlendToAim);
```
```
Expand All @@ -16,5 +16,5 @@ duration: the amount of time in milliseconds to do the task. -1 will keep the t
* **ped**:
* **entity**:
* **duration**:
* **p3**:
* **bInstantBlendToAim**:
6 changes: 3 additions & 3 deletions TASK/TaskAimGunScripted.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ ns: TASK

```c
// 0x7A192BE16D373D00 0x9D296BCD
void TASK_AIM_GUN_SCRIPTED(Ped ped, Hash scriptTask, BOOL p2, BOOL p3);
void TASK_AIM_GUN_SCRIPTED(Ped ped, Hash scriptTask, BOOL bDisableBlockingClip, BOOL bInstantBlendToAim);
```
## Parameters
* **ped**:
* **scriptTask**:
* **p2**:
* **p3**:
* **bDisableBlockingClip**:
* **bInstantBlendToAim**:
18 changes: 9 additions & 9 deletions TASK/TaskAimGunScriptedWithTarget.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@ ns: TASK

```c
// 0x8605AF0DE8B3A5AC 0xFD517CE3
void TASK_AIM_GUN_SCRIPTED_WITH_TARGET(Any p0, Any p1, float p2, float p3, float p4, Any p5, BOOL p6, BOOL p7);
void TASK_AIM_GUN_SCRIPTED_WITH_TARGET(Ped ped, Ped targetPed, float x, float y, float z, cs_type(Any) Hash iGunTaskType, BOOL bDisableBlockingClip, BOOL bForceAim);
```
## Parameters
* **p0**:
* **p1**:
* **p2**:
* **p3**:
* **p4**:
* **p5**:
* **p6**:
* **p7**:
* **ped**:
* **targetPed**:
* **x**:
* **y**:
* **z**:
* **iGunTaskType**:
* **bDisableBlockingClip**:
* **bForceAim**:

0 comments on commit 0336383

Please sign in to comment.