The Lab
MAP native

_SET_MINIMAP_FOW_OVERRIDE_REVEAL_SCALE

returns void2 paramsbuild 1207

Based on its name and signature, here is our best reading:

Sets an override scale for how much fog of war is revealed around the player.

Signature

C
void _SET_MINIMAP_FOW_OVERRIDE_REVEAL_SCALE(float scale, Hash p1); // 0xE5A7F70B7C0F3271 b1207

Parameters

#NameType
1scalefloat
2p1Hash

Facts

Facts about _SET_MINIMAP_FOW_OVERRIDE_REVEAL_SCALE
Name
_SET_MINIMAP_FOW_OVERRIDE_REVEAL_SCALE
Hash
0xE5A7F70B7C0F3271
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(0xE5A7F70B7C0F3271, -- _SET_MINIMAP_FOW_OVERRIDE_REVEAL_SCALE
  0.0, -- float scale
  GetHashKey("name") -- Hash p1
)
JavaScript
// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0xE5A7F70B7C0F3271", // _SET_MINIMAP_FOW_OVERRIDE_REVEAL_SCALE
  0.0, // float scale
  GetHashKey("name") // Hash p1
);
C#
Function.Call((Hash)0xE5A7F70B7C0F3271, // _SET_MINIMAP_FOW_OVERRIDE_REVEAL_SCALE
  0.0f, // float scale
  (uint)API.GetHashKey("name") // Hash p1
);
All MAP natives

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