Game code
NETWORK::NETWORK_REQUEST_CONTROL_OF_NETWORK_ID
0xD050042F598F4C99 ·RVA 0x04C152B0
Signature
void NETWORK_REQUEST_CONTROL_OF_NETWORK_ID(int netId, Any p1);
Parameters 2
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | int | netId |
the game doesn't read it. |
| 1 | Any | p1 |
the game doesn't read it. |
Returns
void Nothing.
RDR3 says BOOL; the game writes none.
Notes
- Names from RDR3; types from the game code, which differs from RDR3's signature:
- p1 is not in RDR3's signature; the game reads it as nothing (it is ignored), and the game doesn't read it.
- The game does nothing with this native's arguments: its handler is empty.
- This lines up with RDR3's signature in more than one way; it takes the one that keeps RDR3's arguments first and puts the new ones after them.
Call it
// NETWORK::NETWORK_REQUEST_CONTROL_OF_NETWORK_ID
invoke<Void>(0xD050042F598F4C99, netId, p1);// NETWORK::NETWORK_REQUEST_CONTROL_OF_NETWORK_ID
Function.Call((Hash)0xD050042F598F4C99, netId, p1);-- NETWORK::NETWORK_REQUEST_CONTROL_OF_NETWORK_ID
Citizen.InvokeNative(0xD050042F598F4C99, netId, p1)// NETWORK::NETWORK_REQUEST_CONTROL_OF_NETWORK_ID
Citizen.invokeNative("0xD050042F598F4C99", netId, p1);Generic call-by-hash templates in the style of the common GTA V / RDR2 script frameworks. Adapt the types to your tooling.
Improve this page
Know what this native does, a better name, or the real parameter types? Suggest an edit. A moderator reviews every suggestion, and approved edits credit you here.