The Lab
MAP native

_ADD_PROP_TO_MINIMAP

returns void5 paramsbuild 1207

Draws the minimap prop minimapProp at the given map position and rotation.

Signature

C
void _ADD_PROP_TO_MINIMAP(Hash minimapProp, float x, float y, float rotation, int p4); // 0x1392105DA88BBFFB b1207

Parameters

#NameType
1minimapPropHash
2xfloat
3yfloat
4rotationfloat
5p4int

Facts

Facts about _ADD_PROP_TO_MINIMAP
Name
_ADD_PROP_TO_MINIMAP
Hash
0x1392105DA88BBFFB
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0x1392105DA88BBFFB, -- _ADD_PROP_TO_MINIMAP
  GetHashKey("name"), -- Hash minimapProp
  0.0, -- float x
  0.0, -- float y
  0.0, -- float rotation
  0 -- int p4
)
JavaScript
// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0x1392105DA88BBFFB", // _ADD_PROP_TO_MINIMAP
  GetHashKey("name"), // Hash minimapProp
  0.0, // float x
  0.0, // float y
  0.0, // float rotation
  0 // int p4
);
C#
Function.Call((Hash)0x1392105DA88BBFFB, // _ADD_PROP_TO_MINIMAP
  (uint)API.GetHashKey("name"), // Hash minimapProp
  0.0f, // float x
  0.0f, // float y
  0.0f, // float rotation
  0 // int p4
);
All MAP natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.