RedM Natives

GET_MINIMAP_TYPE

Get the minimap type:

Hash0xA6FF71C9
Runtime nameGetMinimapType
NamespaceCFX
SideClient
NameOfficial
Docs

Signature

int GET_MINIMAP_TYPE();

Returns int

Description

Cfx.re native reference

Get the minimap type:

0 = Off,
1 = Regular,
2 = Expanded,
3 = Simple,

Usage

Lua
local retval = GetMinimapType()

-- always works, by hash
local retval = Citizen.InvokeNative(0xa6ff71c9, Citizen.ResultAsInteger())
JavaScript and C#
JavaScript
const retval = GetMinimapType();

// by hash
const retval = Citizen.invokeNative('0xa6ff71c9', Citizen.returnResultAnyway(), Citizen.resultAsInteger());
C#
int retval = Function.Call<int>((Hash)0xa6ff71c9);

See also

Sources

Cfx.re native reference

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