Game codeUnofficial name
PED::_SHOOT_TRIGGER_AT_COORDS
0xEAAB194FB3A80D82 ·RVA 0x04BDBE60
Signature
Vector3 _SHOOT_TRIGGER_AT_COORDS(
Ped ped,
Vector3 pos,
BOOL p4,
float p5,
int p6,
float p7
);
The scripts pass 8 values to this native; the decoded signature lists 6 (arguments the game doesn't read are left out).
Parameters 6
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Ped | ped |
– |
| 1 | Vector3 | pos |
– |
| 2 | BOOL | p4 |
RDR3 says int, but the game reads it as a true/false value. |
| 3 | float | p5 |
– |
| 4 | int | p6 |
– |
| 5 | float | p7 |
– |
Returns
Vector3
the game returns 16 bytes and the name asks for a position, offset or direction.
Notes
- Names from RDR3; types from the game code, which differs from RDR3's signature:
Call it
// PED::_SHOOT_TRIGGER_AT_COORDS
auto result = invoke<Vector3>(0xEAAB194FB3A80D82, ped, pos, p4, p5, p6, p7);// PED::_SHOOT_TRIGGER_AT_COORDS
Vector3 result = Function.Call<Vector3>((Hash)0xEAAB194FB3A80D82, ped, pos, p4, p5, p6, p7);-- PED::_SHOOT_TRIGGER_AT_COORDS
local result = Citizen.InvokeNative(0xEAAB194FB3A80D82, ped, pos, p4, p5, p6, p7)// PED::_SHOOT_TRIGGER_AT_COORDS
const result = Citizen.invokeNative("0xEAAB194FB3A80D82", ped, pos, p4, p5, p6, p7);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.