{"hash":"0x1392105DA88BBFFB","ns":"MAP","name":"_ADD_PROP_TO_MINIMAP","slug":"_ADD_PROP_TO_MINIMAP","official":false,"named":true,"luaName":"AddPropToMinimap","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"minimapProp","type":"Hash"},{"name":"x","type":"float"},{"name":"y","type":"float"},{"name":"rotation","type":"float"},{"name":"variation","type":"int"}],"summary":"list of minimap props:","descriptions":[{"source":"alloc8or","format":"text","body":"list of minimap props: https://github.com/femga/rdr3_discoveries/tree/master/graphics/minimap/minimapObjects"},{"source":"vorp","format":"text","body":"list of minimap props: https://github.com/femga/rdr3_discoveries/tree/master/graphics/minimap/minimapObjects\nvariations parameter are the interior locations you see on the map like these bellow\nvariation 0 https://i.imgur.com/jkLhn3Z.png\nvariation 2  https://i.imgur.com/eKV0Tcm.png\nvariation 4 https://i.imgur.com/rjwOgEH.png\nthere are more and you can find them in the decompiles"},{"source":"femga","format":"pre","body":"// 0x1392105DA88BBFFB\nvoid _PLACE_MINIMAP_OBJECT(minimap_object_hash, float x, float y, rotation, 0)\nlist of minimap objects here:\nhttps://github.com/femga/rdr3_discoveries/tree/master/graphics/minimap/minimapObjects"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or","vorp","femga"],"doc":2,"url":"https://natives.borderlinerp.com/natives/MAP/_ADD_PROP_TO_MINIMAP","markdownUrl":"https://natives.borderlinerp.com/natives/MAP/_ADD_PROP_TO_MINIMAP.md","snippets":{"lua":"AddPropToMinimap(minimapProp, x, y, rotation, variation)","luaInvoke":"Citizen.InvokeNative(0x1392105DA88BBFFB, minimapProp, x, y, rotation, variation)","js":"AddPropToMinimap(minimapProp, x, y, rotation, variation);","jsInvoke":"Citizen.invokeNative('0x1392105DA88BBFFB', minimapProp, x + 0.0000001, y + 0.0000001, rotation + 0.0000001, variation);","csharp":"Function.Call((Hash)0x1392105DA88BBFFB, minimapProp, x, y, rotation, variation);","notes":["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."]}}