RedM Natives

NETWORK_SEED_RANDOM_NUMBER_GENERATOR

Hash0xF1B84178F8674195
Runtime nameNetworkSeedRandomNumberGenerator
NamespaceNETWORK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xF1B84178F8674195

Signature

void NETWORK_SEED_RANDOM_NUMBER_GENERATOR(int seed);

Parameters

NameTypeDescription
seedint—

Returns void

Usage

Lua
NetworkSeedRandomNumberGenerator(seed)

-- always works, by hash
Citizen.InvokeNative(0xF1B84178F8674195, seed)
JavaScript and C#
JavaScript
NetworkSeedRandomNumberGenerator(seed);

// by hash
Citizen.invokeNative('0xF1B84178F8674195', seed);
C#
Function.Call((Hash)0xF1B84178F8674195, seed);

Sources

alloc8or RDR3 NativeDB

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