The Lab
PLAYER native

_GET_CONSTRUCTED_DISCOVERED_CHARACTER_NAME

returns Hash3 paramsbuild 1207

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

Returns a constructed character name hash for a discovered character.

Signature

C
Hash _GET_CONSTRUCTED_DISCOVERED_CHARACTER_NAME(Hash p0, BOOL model, BOOL outfit); // 0x8E84119A23C16623 b1207

Parameters

#NameType
1p0Hash
2modelBOOL
3outfitBOOL

Facts

Facts about _GET_CONSTRUCTED_DISCOVERED_CHARACTER_NAME
Name
_GET_CONSTRUCTED_DISCOVERED_CHARACTER_NAME
Hash
0x8E84119A23C16623
Namespace
Returns
Hash
Game build
1207

Examples

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

Lua
local hash = Citizen.InvokeNative(0x8E84119A23C16623, -- _GET_CONSTRUCTED_DISCOVERED_CHARACTER_NAME
  GetHashKey("name"), -- Hash p0
  false, -- BOOL model
  false, -- BOOL outfit
  Citizen.ResultAsInteger()
)
print(hash)
JavaScript
const hash = Citizen.invokeNative("0x8E84119A23C16623", // _GET_CONSTRUCTED_DISCOVERED_CHARACTER_NAME
  GetHashKey("name"), // Hash p0
  false, // BOOL model
  false, // BOOL outfit
  Citizen.resultAsInteger()
);
console.log(hash)
C#
int hash = Function.Call<int>((Hash)0x8E84119A23C16623, // _GET_CONSTRUCTED_DISCOVERED_CHARACTER_NAME
  (uint)API.GetHashKey("name"), // Hash p0
  false, // BOOL model
  false // BOOL outfit
);
All PLAYER natives

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