NETWORK_GET_GAMERTAG_FROM_HANDLE
Always returns a null string.
Hash
0x426141162EBE5CDBRuntime name
NetworkGetGamertagFromHandleNamespaceNETWORK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x426141162EBE5CDBNot called by the game's own scripts — behaviour may be incomplete.
Signature
const char* NETWORK_GET_GAMERTAG_FROM_HANDLE(Any* gamerHandle);Parameters
| Name | Type | Description |
|---|---|---|
gamerHandle | Any* | — |
Returns const char*
Description
Always returns a null string.
Usage
local retval, gamerHandle = NetworkGetGamertagFromHandle(gamerHandle)
-- always works, by hash
local retval, gamerHandle = Citizen.InvokeNative(0x426141162EBE5CDB, Citizen.PointerValueIntInitialized(gamerHandle), Citizen.ResultAsString())JavaScript and C#
const [retval, gamerHandle] = NetworkGetGamertagFromHandle(gamerHandle);
// by hash
const [retval, gamerHandle] = Citizen.invokeNative('0x426141162EBE5CDB', Citizen.pointerValueIntInitialized(gamerHandle), Citizen.returnResultAnyway(), Citizen.resultAsString());var gamerHandle = new OutputArgument();
string retval = Function.Call<string>((Hash)0x426141162EBE5CDB, gamerHandle);
// gamerHandle.GetResult<int>()- The last argument is an in/out pointer: pass its initial value, and the updated value is returned after the result.
Any*arguments are often structs. Build them with a DataView buffer and pass it with:Buffer()— see the examples and notes below.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.