The Lab
HUD native

CREATE_FAKE_MP_GAMER_TAG

returns int6 paramsbuild 1207

Creates an overhead gamer tag on ped as if it were a player, showing username and optional crew tag data. Returns the gamer tag id.

Remove it with REMOVE_MP_GAMER_TAG.

Signature

C
int CREATE_FAKE_MP_GAMER_TAG(Ped ped, const char* username, BOOL pointedClanTag, BOOL isRockstarClan, const char* clanTag, int clanFlag); // 0x53CB4B502E1C57EA b1207

Parameters

#NameType
1pedPed
2usernameconst char*
3pointedClanTagBOOL
4isRockstarClanBOOL
5clanTagconst char*
6clanFlagint

Facts

Facts about CREATE_FAKE_MP_GAMER_TAG
Name
CREATE_FAKE_MP_GAMER_TAG
Hash
0x53CB4B502E1C57EA
Namespace
Returns
int
Game build
1207

Examples

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

Lua
local result = Citizen.InvokeNative(0x53CB4B502E1C57EA, -- CREATE_FAKE_MP_GAMER_TAG
  PlayerPedId(), -- Ped ped
  "text", -- const char* username
  false, -- BOOL pointedClanTag
  false, -- BOOL isRockstarClan
  "text", -- const char* clanTag
  0, -- int clanFlag
  Citizen.ResultAsInteger()
)
print(result)
JavaScript
const result = Citizen.invokeNative("0x53CB4B502E1C57EA", // CREATE_FAKE_MP_GAMER_TAG
  PlayerPedId(), // Ped ped
  "text", // const char* username
  false, // BOOL pointedClanTag
  false, // BOOL isRockstarClan
  "text", // const char* clanTag
  0, // int clanFlag
  Citizen.resultAsInteger()
);
console.log(result)
C#
int result = Function.Call<int>((Hash)0x53CB4B502E1C57EA, // CREATE_FAKE_MP_GAMER_TAG
  API.PlayerPedId(), // Ped ped
  "text", // const char* username
  false, // BOOL pointedClanTag
  false, // BOOL isRockstarClan
  "text", // const char* clanTag
  0 // int clanFlag
);
All HUD natives

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