Game codeUnofficial name
MAP::_ADD_PROP_TO_MINIMAP
0x57744004EC6DEFA2 ·RVA 0x044BCA70
Signature
void _ADD_PROP_TO_MINIMAP(
Hash64 minimapProp,
float pos,
float rotation,
int variation,
int p4
);
Parameters 5
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Hash64 | minimapProp |
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 | float | pos |
RDR3 says Vector2, but the game reads it as a float. |
| 2 | float | rotation |
– |
| 3 | int | variation |
– |
| 4 | int | p4 |
– |
Returns
void Nothing.
Notes
- Names from RDR3; types from the game code, which differs from RDR3's signature:
- p4 is not in RDR3's signature; the game reads it as a 32-bit integer.
- This lines up with RDR3's signature in more than one way; it takes the one that keeps RDR3's arguments first and puts the new ones after them.
Call it
// MAP::_ADD_PROP_TO_MINIMAP
invoke<Void>(0x57744004EC6DEFA2, minimapProp, pos, rotation, variation, p4);// MAP::_ADD_PROP_TO_MINIMAP
Function.Call((Hash)0x57744004EC6DEFA2, minimapProp, pos, rotation, variation, p4);-- MAP::_ADD_PROP_TO_MINIMAP
Citizen.InvokeNative(0x57744004EC6DEFA2, minimapProp, pos, rotation, variation, p4)// MAP::_ADD_PROP_TO_MINIMAP
Citizen.invokeNative("0x57744004EC6DEFA2", minimapProp, pos, rotation, variation, p4);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.