_NETWORK_ALERT
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
void _NETWORK_ALERT(Hash ctx, Hash lh, int ec, int h); // 0x1BAA028F52EED310 b1311Parameters
| # | Name | Type |
|---|---|---|
| 1 | ctx | Hash |
| 2 | lh | Hash |
| 3 | ec | int |
| 4 | h | int |
Facts
| 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.
Citizen.InvokeNative(0x1BAA028F52EED310, -- _NETWORK_ALERT
GetHashKey("name"), -- Hash ctx
GetHashKey("name"), -- Hash lh
0, -- int ec
0 -- int h
)Citizen.invokeNative("0x1BAA028F52EED310", // _NETWORK_ALERT
GetHashKey("name"), // Hash ctx
GetHashKey("name"), // Hash lh
0, // int ec
0 // int h
);Function.Call((Hash)0x1BAA028F52EED310, // _NETWORK_ALERT
(uint)API.GetHashKey("name"), // Hash ctx
(uint)API.GetHashKey("name"), // Hash lh
0, // int ec
0 // int h
);Related NETWORK natives
- _NETWORK_GET_PLAYER_OWNER_OF_NETWORK_ID
- _NETWORK_ADD_PLAYER_TO_RECENT_GAMERS_LIST
- _NETWORK_ARE_ONLINE_NOTIFICATIONS_SHOWN_IN_STORY_MODE
- _NETWORK_ARE_PLAYERS_IN_SAME_PLATFORM_PARTY
- _NETWORK_AUTO_SESSION_IS_AUTO_WARP_DISABLED
- _NETWORK_AUTO_SESSION_IS_INSTANCED_SESSION
- _NETWORK_AUTO_SESSION_IS_PROCESSING_SESSION_SPLIT
- _NETWORK_AUTO_SESSION_SET_ALLOWED_TO_MERGE
- _NETWORK_AUTO_SESSION_SET_ALLOWED_TO_SPLIT
- _NETWORK_AUTO_SESSION_SET_AUTO_WARP_ENABLED
- _NETWORK_AUTO_SESSION_SPLIT_SESSION_SUCCESSFUL
- _NETWORK_CAN_ADD_FRIEND
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.