RedM Natives

_SET_RADAR_CONFIG_TYPE

Hash0x9C113883487FD53C
Runtime nameSetRadarConfigType
NamespaceMAP
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _SET_RADAR_CONFIG_TYPE(Hash configHash, Hash p1);

Parameters

NameTypeDescription
configHashHash—
p1Hash—

Returns void

Description

https://github.com/femga/rdr3_discoveries/blob/master/graphics/minimap/radar/radar_configs.lua
configHash: -1943724816, 347777538, -117986897, -789269373, -547506804, -1986542417, 2080113112
p1: usually 898171178 or 0 in R* scripts (doesn't seems to have any effect)

Usage

Lua
SetRadarConfigType(configHash, p1)

-- always works, by hash
Citizen.InvokeNative(0x9C113883487FD53C, configHash, p1)
JavaScript and C#
JavaScript
SetRadarConfigType(configHash, p1);

// by hash
Citizen.invokeNative('0x9C113883487FD53C', configHash, p1);
C#
Function.Call((Hash)0x9C113883487FD53C, configHash, p1);
  • 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`.
  • 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.

Sources

alloc8or RDR3 NativeDB

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