RedM Natives

_NETWORK_GET_SIZE_OF_PLAYER_BROADCAST_DATA_STORAGE

Hash0x690806BC83BC8CA2
Runtime nameNetworkGetSizeOfPlayerBroadcastDataStorage
NamespaceNETWORK
SideClient
NameCommunity guess
Docs
Since build1207

Signature

int _NETWORK_GET_SIZE_OF_PLAYER_BROADCAST_DATA_STORAGE(int* p0);

Parameters

NameTypeDescription
p0int*—

Returns int

Usage

Lua
local retval, p0 = NetworkGetSizeOfPlayerBroadcastDataStorage(p0)

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

// by hash
const [retval, p0] = Citizen.invokeNative('0x690806BC83BC8CA2', Citizen.pointerValueIntInitialized(p0), Citizen.returnResultAnyway(), Citizen.resultAsInteger());
C#
var p0 = new OutputArgument();
int retval = Function.Call<int>((Hash)0x690806BC83BC8CA2, 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.
  • 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.