RedM Natives

SET_MINIMAP_TYPE

Possible Types:

Hash0x5FB53015
Runtime nameSetMinimapType
NamespaceCFX
SideClient
NameOfficial
Docs

Signature

void SET_MINIMAP_TYPE(int type);

Parameters

NameTypeDescription
typeint

Type to set the minimap to.

Returns void

Description

Cfx.re native reference

Possible Types:

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

Usage

Lua
SetMinimapType(type)

-- always works, by hash
Citizen.InvokeNative(0x5fb53015, type)
JavaScript and C#
JavaScript
SetMinimapType(type);

// by hash
Citizen.invokeNative('0x5fb53015', type);
C#
Function.Call((Hash)0x5fb53015, type);

See also

Sources

Cfx.re native reference

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