# MAP::_ADD_PROP_TO_MINIMAP

- **Hash:** `0x1392105DA88BBFFB`
- **Namespace:** MAP
- **Runtime name (Lua/JS):** `AddPropToMinimap`
- **Side:** client (game native)
- **Name status:** community guess (may change)
- **Documentation:** described
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/MAP/_ADD_PROP_TO_MINIMAP

## Signature

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

## Parameters

- `minimapProp` (`Hash`)
- `x` (`float`)
- `y` (`float`)
- `rotation` (`float`)
- `variation` (`int`)

## Returns

`void`

## Description

*Source: alloc8or RDR3 NativeDB*

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

*Source: 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

*Source: femga rdr3_discoveries*

```
// 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

```lua
AddPropToMinimap(minimapProp, x, y, rotation, variation)

-- always available, by hash
Citizen.InvokeNative(0x1392105DA88BBFFB, minimapProp, x, y, rotation, variation)
```

### JavaScript

```js
AddPropToMinimap(minimapProp, x, y, rotation, variation);

// by hash
Citizen.invokeNative('0x1392105DA88BBFFB', minimapProp, x + 0.0000001, y + 0.0000001, rotation + 0.0000001, variation);
```

### C#

```csharp
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.*
