The Lab
NETWORK native

_NETWORK_GET_GAMER_STATUS

returns int2 paramsbuild 1207

Starts a gamer status request for the given handle and returns a result code.

Signature

C
int _NETWORK_GET_GAMER_STATUS(Any* gamerHandle, int p1); // 0xDDAEB478E58F8DEA b1207

Parameters

#NameType
1gamerHandleAny* (out pointer)
2p1int

Facts

Facts about _NETWORK_GET_GAMER_STATUS
Name
_NETWORK_GET_GAMER_STATUS
Hash
0xDDAEB478E58F8DEA
Namespace
Returns
int
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local result, gamerHandle = Citizen.InvokeNative(0xDDAEB478E58F8DEA, -- _NETWORK_GET_GAMER_STATUS
  Citizen.PointerValueInt(), -- Any* gamerHandle
  0, -- int p1
  Citizen.ResultAsInteger()
)
print(result, gamerHandle)
JavaScript
const [result, gamerHandle] = Citizen.invokeNative("0xDDAEB478E58F8DEA", // _NETWORK_GET_GAMER_STATUS
  Citizen.pointerValueInt(), // Any* gamerHandle
  0, // int p1
  Citizen.resultAsInteger()
);
console.log(result, gamerHandle)
C#
var gamerHandleArg = new OutputArgument();
int result = Function.Call<int>((Hash)0xDDAEB478E58F8DEA, // _NETWORK_GET_GAMER_STATUS
  gamerHandleArg, // Any* gamerHandle
  0 // int p1
);
int gamerHandle = gamerHandleArg.GetResult<int>();
All NETWORK natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.