RDR3 match
OBJECT::DOES_OBJECT_OF_TYPE_EXIST_AT_COORDS
0x0BE8DEC0405B71D0 ·RVA 0x04C12EB0
Signature
BOOL DOES_OBJECT_OF_TYPE_EXIST_AT_COORDS(
Vector3 pos,
float radius,
Hash64 hash,
BOOL p5
);
The scripts pass 5 values to this native; the decoded signature lists 4 (arguments the game doesn't read are left out).
Parameters 4
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Vector3 | pos |
– |
| 1 | float | radius |
– |
| 2 | Hash64 | hash |
RDR3 takes a Hash; GTA VI passes a 64-bit hash (the game reads 64 bits, and the scripts pass a value, not an address). |
| 3 | BOOL | p5 |
– |
Returns
BOOL
Call it
// OBJECT::DOES_OBJECT_OF_TYPE_EXIST_AT_COORDS
auto result = invoke<BOOL>(0x0BE8DEC0405B71D0, pos, radius, hash, p5);// OBJECT::DOES_OBJECT_OF_TYPE_EXIST_AT_COORDS
bool result = Function.Call<bool>((Hash)0x0BE8DEC0405B71D0, pos, radius, hash, p5);-- OBJECT::DOES_OBJECT_OF_TYPE_EXIST_AT_COORDS
local result = Citizen.InvokeNative(0x0BE8DEC0405B71D0, pos, radius, hash, p5)// OBJECT::DOES_OBJECT_OF_TYPE_EXIST_AT_COORDS
const result = Citizen.invokeNative("0x0BE8DEC0405B71D0", pos, radius, hash, p5);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.