_ADD_PROP_TO_MINIMAP
Draws the minimap prop minimapProp at the given map position and rotation.
Signature
void _ADD_PROP_TO_MINIMAP(Hash minimapProp, float x, float y, float rotation, int p4); // 0x1392105DA88BBFFB b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | minimapProp | Hash |
| 2 | x | float |
| 3 | y | float |
| 4 | rotation | float |
| 5 | p4 | int |
Facts
| 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.
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
)// 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
);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
);Related MAP natives
- _REMOVE_PROP_FROM_MINIMAP
- ADD_POINT_TO_GPS_MULTI_ROUTE
- _BLIP_ADD_FOR_AREA
- _BLIP_ADD_FOR_STYLE
- _BLIP_ADD_FOR_VOLUME
- _BLIP_ADD_STYLE
- _IS_BLIP_ATTACHED_TO_ANY_ENTITY
- _REVEAL_MINIMAP_FOW
- _SET_DISPLAY_BLIP_ICON_TO_LOCKON_ENTITY_PROMPT
- _SET_MINIMAP_FOW_OVERRIDE_REVEAL_SCALE
- _SET_MINIMAP_FOW_SHOULD_UPDATE
- _SET_MINIMAP_ZONE
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.