RDR3 match
MISC::IS_PROJECTILE_IN_AREA
0x020376BEFA4FF9E1 ·RVA 0x03E8C350
Signature
BOOL IS_PROJECTILE_IN_AREA(
Vector3 pos1,
Vector3 pos2,
BOOL ownedByPlayer
);
The scripts pass 5 values to this native; the decoded signature lists 3 (arguments the game doesn't read are left out).
Parameters 3
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Vector3 | pos1 |
– |
| 1 | Vector3 | pos2 |
– |
| 2 | BOOL | ownedByPlayer |
– |
Returns
BOOL
Call it
// MISC::IS_PROJECTILE_IN_AREA
auto result = invoke<BOOL>(0x020376BEFA4FF9E1, pos1, pos2, ownedByPlayer);// MISC::IS_PROJECTILE_IN_AREA
bool result = Function.Call<bool>((Hash)0x020376BEFA4FF9E1, pos1, pos2, ownedByPlayer);-- MISC::IS_PROJECTILE_IN_AREA
local result = Citizen.InvokeNative(0x020376BEFA4FF9E1, pos1, pos2, ownedByPlayer)// MISC::IS_PROJECTILE_IN_AREA
const result = Citizen.invokeNative("0x020376BEFA4FF9E1", pos1, pos2, ownedByPlayer);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.