RedM Natives

_NETWORK_ALERT

Hash0x1BAA028F52EED310
Runtime nameNetworkAlert
NamespaceNETWORK
SideClient
NameCommunity guess
Docs
Since build1311

Signature

void _NETWORK_ALERT(Hash ctx, Hash lh, int ec, int h);

Parameters

NameTypeDescription
ctxHash—
lhHash—
ecint—
hint—

Returns void

Usage

Lua
NetworkAlert(ctx, lh, ec, h)

-- always works, by hash
Citizen.InvokeNative(0x1BAA028F52EED310, ctx, lh, ec, h)
JavaScript and C#
JavaScript
NetworkAlert(ctx, lh, ec, h);

// by hash
Citizen.invokeNative('0x1BAA028F52EED310', ctx, lh, ec, h);
C#
Function.Call((Hash)0x1BAA028F52EED310, ctx, lh, ec, h);
  • Hash parameters: the named function also accepts a string and hashes it for you; Citizen.InvokeNative needs the number — pass joaat("name") or a backtick literal like `name`.
  • 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.