The Lab
PLAYER native

_SET_PLAYER_HAS_DISCOVERED_CHARACTER_NAME_SP

returns void3 paramsbuild 1207

Marks the character name discoveryHash as discovered by player in single-player.

Signature

C
void _SET_PLAYER_HAS_DISCOVERED_CHARACTER_NAME_SP(Player player, int p1, Hash discoveryHash); // 0x946D46CD6DFB9742 b1207

Parameters

#NameType
1playerPlayer
2p1int
3discoveryHashHash

Facts

Facts about _SET_PLAYER_HAS_DISCOVERED_CHARACTER_NAME_SP
Name
_SET_PLAYER_HAS_DISCOVERED_CHARACTER_NAME_SP
Hash
0x946D46CD6DFB9742
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(0x946D46CD6DFB9742, -- _SET_PLAYER_HAS_DISCOVERED_CHARACTER_NAME_SP
  PlayerId(), -- Player player
  0, -- int p1
  GetHashKey("name") -- Hash discoveryHash
)
JavaScript
Citizen.invokeNative("0x946D46CD6DFB9742", // _SET_PLAYER_HAS_DISCOVERED_CHARACTER_NAME_SP
  PlayerId(), // Player player
  0, // int p1
  GetHashKey("name") // Hash discoveryHash
);
C#
Function.Call((Hash)0x946D46CD6DFB9742, // _SET_PLAYER_HAS_DISCOVERED_CHARACTER_NAME_SP
  API.PlayerId(), // Player player
  0, // int p1
  (uint)API.GetHashKey("name") // Hash discoveryHash
);
All PLAYER natives

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