_NETWORK_ALERT
Hash
0x1BAA028F52EED310Runtime name
NetworkAlertNamespaceNETWORK
SideClient
NameCommunity guess
Docs
Since build1311
Signature
void _NETWORK_ALERT(Hash ctx, Hash lh, int ec, int h);Parameters
| Name | Type | Description |
|---|---|---|
ctx | Hash | — |
lh | Hash | — |
ec | int | — |
h | int | — |
Returns void
Usage
NetworkAlert(ctx, lh, ec, h)
-- always works, by hash
Citizen.InvokeNative(0x1BAA028F52EED310, ctx, lh, ec, h)JavaScript and C#
NetworkAlert(ctx, lh, ec, h);
// by hash
Citizen.invokeNative('0x1BAA028F52EED310', ctx, lh, ec, h);Function.Call((Hash)0x1BAA028F52EED310, ctx, lh, ec, h);- Hash parameters: the named function also accepts a string and hashes it for you;
Citizen.InvokeNativeneeds the number — passjoaat("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
InvokeNativewith the hash — it always works.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.