-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Update ShootSingleBulletBetweenCoordsIgnoreEntityNew.md #712
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,32 +6,31 @@ aliases: ["0xBFE5756E7407064A","_SHOOT_SINGLE_BULLET_BETWEEN_COORDS_WITH_EXTRA_P | |
|
|
||
| ```c | ||
| // 0xBFE5756E7407064A 0xCCDC33CC | ||
| void SHOOT_SINGLE_BULLET_BETWEEN_COORDS_IGNORE_ENTITY_NEW(float x1, float y1, float z1, float x2, float y2, float z2, int damage, BOOL p7, Hash weaponHash, Ped ownerPed, BOOL isAudible, BOOL isInvisible, float speed, Entity entity, BOOL p14, BOOL p15, BOOL p16, BOOL p17); | ||
| void SHOOT_SINGLE_BULLET_BETWEEN_COORDS_IGNORE_ENTITY_NEW(float x1, float y1, float z1, float x2, float y2, float z2, int damage, BOOL pureAccuracy, Hash weaponHash, Ped ownerPed, BOOL isAudible, BOOL isInvisible, float speed, Entity entity, BOOL p14, BOOL p15, BOOL p16, BOOL p17, Any p18, Any p19, Any p20); | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You can add that
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. p14 = bool bForceCreateNewProjectileObject would be the correct types and names |
||
| ``` | ||
|
|
||
| ``` | ||
| NativeDB Added Parameter 19: Any p18 | ||
| NativeDB Added Parameter 20: Any p19 | ||
| NativeDB Added Parameter 21: Any p20 | ||
| ``` | ||
|
Comment on lines
-12
to
-16
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Add this back in 🙂 |
||
| Shoots a bullet from the first vector to the second vector. The weapon used as weaponHash should already be loaded via REQUEST_WEAPON_ASSET, otherwise the bullet may fail to materialise. | ||
|
|
||
| ## Parameters | ||
| * **x1**: | ||
| * **y1**: | ||
| * **z1**: | ||
| * **x2**: | ||
| * **y2**: | ||
| * **z2**: | ||
| * **damage**: | ||
| * **p7**: | ||
| * **weaponHash**: | ||
| * **ownerPed**: | ||
| * **isAudible**: | ||
| * **isInvisible**: | ||
| * **speed**: | ||
| * **entity**: | ||
| * **x1**: The X coordinate to start the shot at. | ||
| * **y1**: The Y coordinate to start the shot at. | ||
| * **z1**: The Z coordinate to start the shot at. | ||
| * **x2**: The X coordinate the shot should end up at. | ||
| * **y2**: The Y coordinate the shot should end up at. | ||
| * **z2**: The Z coordinate the shot should end up at. | ||
| * **damage**: The amount of damage the bullet carries. | ||
| * **pureAccuracy**: Whether the bullet should have pinpoint accuracy. | ||
| * **weaponHash**: Hash of the weapon the bullet is used as ammunition for. | ||
| * **ownerPed**: Owner of the bullet, e.g. if the bullet kills someone the kill feed shows 'X was shot by ownerPed.' | ||
| * **isAudible**: Whether the bullet should be audible. Optional, defaults to true | ||
| * **isInvisible**: Whether the bullet should be invisible. Optional, defaults to false | ||
| * **speed**: Speed the bullet should fly at. Optional | ||
| * **entity**: Entity to ignore. | ||
|
Comment on lines
+15
to
+28
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is nice to have. |
||
| * **p14**: | ||
| * **p15**: | ||
| * **p16**: | ||
| * **p17**: | ||
| * **p18**: | ||
| * **p19**: | ||
| * **p20**: | ||
|
Comment on lines
+33
to
+35
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can't add new parameters at the time being, so I would remove this. |
||
|
|
||
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.
Remove these parameters you added
, Any p18, Any p19, Any p20, but keeppureAccuracy.