HUDClient

setMpGamerTagVisibility

SET_MP_GAMER_TAG_VISIBILITY0x63BB75ABEDC1F6A0

The GTA V native SET_MP_GAMER_TAG_VISIBILITY of the HUD namespace, as LS:MP client scripts call it: the global function setMpGamerTagVisibility, in JavaScript and in Lua.

SignatureJavaScript
setMpGamerTagVisibility(
  gamerTagId: number,
  component: number,
  toggle: boolean,
  p3: any
): void
SignatureLua
setMpGamerTagVisibility(
  gamerTagId: integer,
  component: integer,
  toggle: boolean,
  p3: any
)

Usage

JavaScript
setMpGamerTagVisibility(gamerTagId, component, toggle, p3);
Lua
setMpGamerTagVisibility(gamerTagId, component, toggle, p3)

Parameters

ParameterTypeJavaScriptLua
gamerTagIdintnumberinteger
componentintnumberinteger
toggleBOOLbooleanboolean
p3Anyanyany

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
HUD HUD
In the game
void SET_MP_GAMER_TAG_VISIBILITY(int gamerTagId, int component, BOOL toggle, Any p3)
Hash
0x63BB75ABEDC1F6A0

Open in the interactive natives reference