RedM Natives

_ADD_PROP_TO_MINIMAP

list of minimap props:

Hash0x1392105DA88BBFFB
Runtime nameAddPropToMinimap
NamespaceMAP
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _ADD_PROP_TO_MINIMAP(Hash minimapProp, float x, float y, float rotation, int variation);

Parameters

NameTypeDescription
minimapPropHash—
xfloat—
yfloat—
rotationfloat—
variationint—

Returns void

Description

alloc8or RDR3 NativeDB

list of minimap props: https://github.com/femga/rdr3_discoveries/tree/master/graphics/minimap/minimapObjects

VORPCORE RDR3natives

list of minimap props: https://github.com/femga/rdr3_discoveries/tree/master/graphics/minimap/minimapObjects
variations parameter are the interior locations you see on the map like these bellow
variation 0 https://i.imgur.com/jkLhn3Z.png
variation 2 https://i.imgur.com/eKV0Tcm.png
variation 4 https://i.imgur.com/rjwOgEH.png
there are more and you can find them in the decompiles

femga rdr3_discoveries · research notes

// 0x1392105DA88BBFFB
void _PLACE_MINIMAP_OBJECT(minimap_object_hash, float x, float y, rotation, 0)
list of minimap objects here:
https://github.com/femga/rdr3_discoveries/tree/master/graphics/minimap/minimapObjects

Usage

Lua
AddPropToMinimap(minimapProp, x, y, rotation, variation)

-- always works, by hash
Citizen.InvokeNative(0x1392105DA88BBFFB, minimapProp, x, y, rotation, variation)
JavaScript and C#
JavaScript
AddPropToMinimap(minimapProp, x, y, rotation, variation);

// by hash
Citizen.invokeNative('0x1392105DA88BBFFB', minimapProp, x + 0.0000001, y + 0.0000001, rotation + 0.0000001, variation);
C#
Function.Call((Hash)0x1392105DA88BBFFB, minimapProp, x, y, rotation, variation);
  • Hash parameters: the named function also accepts a string and hashes it for you; Citizen.InvokeNative needs the number — pass joaat("name") or a backtick literal like `name`.
  • Float parameters: Lua integers (10, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write 10.0 or value + 0.0. The generated JS wrappers add 0.0000001 to non-zero floats for the same reason.
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

Sources

alloc8or RDR3 NativeDB · VORPCORE RDR3natives · femga rdr3_discoveries

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.