RDR3 match
SHAPETEST::START_SHAPE_TEST_SWEPT_SPHERE
0xF608CDCF55A4837C ·RVA 0x04463270
Signature
ScrHandle START_SHAPE_TEST_SWEPT_SPHERE(
Vector3 pos1,
Vector3 pos2,
float radius,
int flags,
Entity entity,
int p9
);
The scripts pass 9 values to this native; the decoded signature lists 6 (arguments the game doesn't read are left out).
Parameters 6
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Vector3 | pos1 |
– |
| 1 | Vector3 | pos2 |
– |
| 2 | float | radius |
– |
| 3 | int | flags |
– |
| 4 | Entity | entity |
– |
| 5 | int | p9 |
RDR3 doesn't give a type; small whole numbers. |
Returns
ScrHandle
Call it
// SHAPETEST::START_SHAPE_TEST_SWEPT_SPHERE
auto result = invoke<ScrHandle>(0xF608CDCF55A4837C, pos1, pos2, radius, flags, entity, p9);// SHAPETEST::START_SHAPE_TEST_SWEPT_SPHERE
int result = Function.Call<int>((Hash)0xF608CDCF55A4837C, pos1, pos2, radius, flags, entity, p9);-- SHAPETEST::START_SHAPE_TEST_SWEPT_SPHERE
local result = Citizen.InvokeNative(0xF608CDCF55A4837C, pos1, pos2, radius, flags, entity, p9)// SHAPETEST::START_SHAPE_TEST_SWEPT_SPHERE
const result = Citizen.invokeNative("0xF608CDCF55A4837C", pos1, pos2, radius, flags, entity, p9);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.