RedM Natives

_NETWORK_GET_CURRENT_FRIEND_PAGE_DATA

Hash0xA3EEC0A5AFF3FC5B
Runtime nameNetworkGetCurrentFriendPageData
NamespaceNETWORK
SideClient
NameCommunity guess
Docs
Since build1207

Signature

BOOL _NETWORK_GET_CURRENT_FRIEND_PAGE_DATA(Any* p0);

Parameters

NameTypeDescription
p0Any*—

Returns BOOL

Usage

Lua
local retval, p0 = NetworkGetCurrentFriendPageData(p0)

-- always works, by hash
local retval, p0 = Citizen.InvokeNative(0xA3EEC0A5AFF3FC5B, Citizen.PointerValueIntInitialized(p0), Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const [retval, p0] = NetworkGetCurrentFriendPageData(p0);

// by hash
const [retval, p0] = Citizen.invokeNative('0xA3EEC0A5AFF3FC5B', Citizen.pointerValueIntInitialized(p0), Citizen.returnResultAnyway());
C#
var p0 = new OutputArgument();
bool retval = Function.Call<bool>((Hash)0xA3EEC0A5AFF3FC5B, p0);
// p0.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.
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

Sources

alloc8or RDR3 NativeDB

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