RDR3 match
ENTITY::PIN_CLOSEST_MAP_ENTITY
0x75B661AD90CF97DA ·RVA 0x03C0FA70
Signature
int PIN_CLOSEST_MAP_ENTITY(
Hash64 modelHash,
Vector3 pos,
int flags
);
The scripts pass 4 values to this native; the decoded signature lists 3 (arguments the game doesn't read are left out).
Parameters 3
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Hash64 | modelHash |
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). |
| 1 | Vector3 | pos |
– |
| 2 | int | flags |
– |
Returns
int
Call it
// ENTITY::PIN_CLOSEST_MAP_ENTITY
auto result = invoke<int>(0x75B661AD90CF97DA, modelHash, pos, flags);// ENTITY::PIN_CLOSEST_MAP_ENTITY
int result = Function.Call<int>((Hash)0x75B661AD90CF97DA, modelHash, pos, flags);-- ENTITY::PIN_CLOSEST_MAP_ENTITY
local result = Citizen.InvokeNative(0x75B661AD90CF97DA, modelHash, pos, flags)// ENTITY::PIN_CLOSEST_MAP_ENTITY
const result = Citizen.invokeNative("0x75B661AD90CF97DA", modelHash, pos, flags);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.