RedM Natives

NETWORK_GET_HIGHEST_RELIABLE_RESEND_COUNT

Old name: _NETWORK_GET_OLDEST_RESEND_COUNT_FOR_PLAYER

Hash0x52C1EADAF7B10302
Runtime nameNetworkGetHighestReliableResendCount
NamespaceNETWORK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x52C1EADAF7B10302

Not called by the game's own scripts — behaviour may be incomplete.

Signature

int NETWORK_GET_HIGHEST_RELIABLE_RESEND_COUNT(Player player);

Parameters

NameTypeDescription
playerPlayer—

Returns int

Description

Old name: _NETWORK_GET_OLDEST_RESEND_COUNT_FOR_PLAYER

Usage

Lua
local retval = NetworkGetHighestReliableResendCount(player)

-- always works, by hash
local retval = Citizen.InvokeNative(0x52C1EADAF7B10302, player, Citizen.ResultAsInteger())
JavaScript and C#
JavaScript
const retval = NetworkGetHighestReliableResendCount(player);

// by hash
const retval = Citizen.invokeNative('0x52C1EADAF7B10302', player, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
C#
int retval = Function.Call<int>((Hash)0x52C1EADAF7B10302, player);

Sources

alloc8or RDR3 NativeDB

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