RedM Natives

IS_MP_GAMER_TAG_ACTIVE

Hash0x6E1C31E14C7A5F97
Runtime nameIsMpGamerTagActive
NamespaceHUD
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x4E929E7A5796FD26

Signature

BOOL IS_MP_GAMER_TAG_ACTIVE(int gamerTagId);

Parameters

NameTypeDescription
gamerTagIdint—

Returns BOOL

Usage

Lua
local retval = IsMpGamerTagActive(gamerTagId)

-- always works, by hash
local retval = Citizen.InvokeNative(0x6E1C31E14C7A5F97, gamerTagId, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = IsMpGamerTagActive(gamerTagId);

// by hash
const retval = Citizen.invokeNative('0x6E1C31E14C7A5F97', gamerTagId, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0x6E1C31E14C7A5F97, gamerTagId);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.