The Lab
NETWORK native

_NETWORK_ALERT

returns void4 paramsbuild 1311

Based on its name and signature, here is our best reading:

Appears to raise a network alert using the given context and code hashes. Exact behavior is not documented.

Signature

C
void _NETWORK_ALERT(Hash ctx, Hash lh, int ec, int h); // 0x1BAA028F52EED310 b1311

Parameters

#NameType
1ctxHash
2lhHash
3ecint
4hint

Facts

Facts about _NETWORK_ALERT
Name
_NETWORK_ALERT
Hash
0x1BAA028F52EED310
Namespace
Returns
void
Game build
1311

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0x1BAA028F52EED310, -- _NETWORK_ALERT
  GetHashKey("name"), -- Hash ctx
  GetHashKey("name"), -- Hash lh
  0, -- int ec
  0 -- int h
)
JavaScript
Citizen.invokeNative("0x1BAA028F52EED310", // _NETWORK_ALERT
  GetHashKey("name"), // Hash ctx
  GetHashKey("name"), // Hash lh
  0, // int ec
  0 // int h
);
C#
Function.Call((Hash)0x1BAA028F52EED310, // _NETWORK_ALERT
  (uint)API.GetHashKey("name"), // Hash ctx
  (uint)API.GetHashKey("name"), // Hash lh
  0, // int ec
  0 // int h
);
All NETWORK natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.