RedM Natives

_SET_MP_GAMER_TAG_VISIBILITY

UIGAMERTAGVISIBILITY_NONE, UIGAMERTAGVISIBILITY_ICON, UIGAMERTAGVISIBILITY_SIMPLE, UIGAMERTAGVISIBILITY_COMPLEX

Hash0x93171DDDAB274EB8
Runtime nameSetMpGamerTagVisibility
NamespaceHUD
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _SET_MP_GAMER_TAG_VISIBILITY(int gamerTagId, int visibility);

Parameters

NameTypeDescription
gamerTagIdint—
visibilityint—

Returns void

Description

visibility:
enum eUIGamertagVisibility
{
	UIGAMERTAGVISIBILITY_NONE,
	UIGAMERTAGVISIBILITY_ICON,
	UIGAMERTAGVISIBILITY_SIMPLE,
	UIGAMERTAGVISIBILITY_COMPLEX
};

Usage

Lua
SetMpGamerTagVisibility(gamerTagId, visibility)

-- always works, by hash
Citizen.InvokeNative(0x93171DDDAB274EB8, gamerTagId, visibility)
JavaScript and C#
JavaScript
SetMpGamerTagVisibility(gamerTagId, visibility);

// by hash
Citizen.invokeNative('0x93171DDDAB274EB8', gamerTagId, visibility);
C#
Function.Call((Hash)0x93171DDDAB274EB8, gamerTagId, visibility);
  • 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.