The Lab
MAP native

_MAP_DISCOVERY_SET_ENABLED

returns void1 parambuild 1207

Enables the map discovery discoveryHash.

Signature

C
void _MAP_DISCOVERY_SET_ENABLED(Hash discoveryHash); // 0xDA98246C7A3C2189 b1207

Parameters

#NameType
1discoveryHashHash

Facts

Facts about _MAP_DISCOVERY_SET_ENABLED
Name
_MAP_DISCOVERY_SET_ENABLED
Hash
0xDA98246C7A3C2189
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0xDA98246C7A3C2189, -- _MAP_DISCOVERY_SET_ENABLED
  GetHashKey("name") -- Hash discoveryHash
)
JavaScript
Citizen.invokeNative("0xDA98246C7A3C2189", // _MAP_DISCOVERY_SET_ENABLED
  GetHashKey("name") // Hash discoveryHash
);
C#
Function.Call((Hash)0xDA98246C7A3C2189, // _MAP_DISCOVERY_SET_ENABLED
  (uint)API.GetHashKey("name") // Hash discoveryHash
);
All MAP natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.