Skip to content
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

Parameter names for aim task natives #1185

Merged
merged 2 commits into from
Sep 11, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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(Any ped, Any targetPed, float x, float y, float z, Any iGunTaskType, BOOL bDisableBlockingClip, BOOL bForceAim);
coalaura marked this conversation as resolved.
Show resolved Hide resolved
```


## Parameters
* **p0**:
* **p1**:
* **p2**:
* **p3**:
* **p4**:
* **p5**:
* **p6**:
* **p7**:
* **ped**:
* **targetPed**:
* **x**:
* **y**:
* **z**:
* **iGunTaskType**:
* **bDisableBlockingClip**:
* **bForceAim**:

Loading