NetworkHostTransition — FiveM Natives
0xA60BB5CE242BB254 · NETWORK · all
From what I can tell it looks like it does the following: Creates/hosts a new transition to another online session, using this in FiveM will result in other players being disconencted from the server/preventing them from joining. This is most likely because I entered the wrong session parameters since they're pretty much all unknown right now. You also need to use NetworkJoinTransition(Player player) and NetworkLaunchTransition().
Parameters
| Name | Type | Description |
|---|---|---|
| p0 | int | Unknown int |
| p1 | int | Unknown int |
| p2 | int | Unknown int |
| p3 | int | Unknown int |
| p4 | Any | Unknown always 0 in decompiled scripts |
| p5 | BOOL | BOOL purpose unknown, both 0 and 1 are used in decompiled scripts. |
| p6 | BOOL | BOOL purpose unknown, both 0 and 1 are used in decompiled scripts. |
| p7 | int | Unknown int, it's an int according to decompiled scripts, however the value is always 0 or 1. |
| p8 | Any | Unknown int, it's an int according to decompiled scripts, however the value is always 0 or 1. |
| p9 | int | Unknown int, sometimes 0, but also 32768 or 16384 appear in decompiled scripst, maybe a flag of some sort? |
Returns
BOOL