HUDClient

isMpGamerTagActive

IS_MP_GAMER_TAG_ACTIVE0x4E929E7A5796FD26

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

SignatureJavaScript
isMpGamerTagActive(gamerTagId: number): boolean
SignatureLua
isMpGamerTagActive(gamerTagId: integer): boolean

Usage

JavaScript
const result = isMpGamerTagActive(gamerTagId);
Lua
local result = isMpGamerTagActive(gamerTagId)

Parameters

ParameterTypeJavaScriptLua
gamerTagIdintnumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
HUD HUD
In the game
BOOL IS_MP_GAMER_TAG_ACTIVE(int gamerTagId)
Hash
0x4E929E7A5796FD26

Open in the interactive natives reference