CREATE_FAKE_MP_GAMER_TAG
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
int CREATE_FAKE_MP_GAMER_TAG(Ped ped, const char* username, BOOL pointedClanTag, BOOL isRockstarClan, const char* clanTag, int clanFlag); // 0x53CB4B502E1C57EA b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | username | const char* |
| 3 | pointedClanTag | BOOL |
| 4 | isRockstarClan | BOOL |
| 5 | clanTag | const char* |
| 6 | clanFlag | int |
Facts
| 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.
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)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)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
);Related HUD natives
- _CREATE_MP_GAMER_TAG
- _CREATE_MP_GAMER_TAG_ON_ENTITY
- _IS_MP_GAMER_TAG_ACTIVE_ON_ENTITY
- _MP_GAMER_TAG_DISABLE_REVIVE_TOP_ICON
- _MP_GAMER_TAG_ENABLE_REVIVE_TOP_ICON
- _SET_MP_GAMER_TAG_COLOUR
- _SET_MP_GAMER_TAG_NAME_POSSE
- _SET_MP_GAMER_TAG_SECONDARY_ICON
- _SET_MP_GAMER_TAG_TOP_ICON
- _SET_MP_GAMER_TAG_TYPE
- _SET_MP_GAMER_TAG_UNK_ALLOW_LOCALIZED
- _SET_MP_GAMER_TAG_VISIBILITY
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.