Game code
MISC::SHOOT_SINGLE_BULLET_BETWEEN_COORDS
0x389F90D37989AB34 ·RVA 0x03E844A0
Signature
void SHOOT_SINGLE_BULLET_BETWEEN_COORDS(
Vector3 pos1,
Vector3 pos2,
int damage,
BOOL p7,
Hash weaponHash,
Ped ownerPed,
BOOL isAudible,
float speed,
BOOL p13
);
The scripts pass 12 values to this native; the decoded signature lists 9 (arguments the game doesn't read are left out).
Parameters 9
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Vector3 | pos1 |
– |
| 1 | Vector3 | pos2 |
– |
| 2 | int | damage |
– |
| 3 | BOOL | p7 |
– |
| 4 | Hash | weaponHash |
– |
| 5 | Ped | ownerPed |
– |
| 6 | BOOL | isAudible |
– |
| 7 | float | speed |
– |
| 8 | BOOL | p13 |
– |
Returns
void Nothing.
Notes
- Names from RDR3; types from the game code, which differs from RDR3's signature:
- isInvisible, in RDR3's signature, is not passed in GTA VI.
- This lines up with RDR3's signature in more than one way; it takes the one that keeps RDR3's arguments first and puts the new ones after them.
Call it
// MISC::SHOOT_SINGLE_BULLET_BETWEEN_COORDS
invoke<Void>(0x389F90D37989AB34, pos1, pos2, damage, p7, weaponHash, ownerPed, isAudible, speed, p13);// MISC::SHOOT_SINGLE_BULLET_BETWEEN_COORDS
Function.Call((Hash)0x389F90D37989AB34, pos1, pos2, damage, p7, weaponHash, ownerPed, isAudible, speed, p13);-- MISC::SHOOT_SINGLE_BULLET_BETWEEN_COORDS
Citizen.InvokeNative(0x389F90D37989AB34, pos1, pos2, damage, p7, weaponHash, ownerPed, isAudible, speed, p13)// MISC::SHOOT_SINGLE_BULLET_BETWEEN_COORDS
Citizen.invokeNative("0x389F90D37989AB34", pos1, pos2, damage, p7, weaponHash, ownerPed, isAudible, speed, p13);Generic call-by-hash templates in the style of the common GTA V / RDR2 script frameworks. Adapt the types to your tooling.
Improve this page
Know what this native does, a better name, or the real parameter types? Suggest an edit. A moderator reviews every suggestion, and approved edits credit you here.