The connection code in FiveM is a novel identifier that’s used to connect with a FiveM server. It’s usually a protracted string of characters that’s generated by the server when it’s created. So as to add a connection code to FiveM, you’ll need to open the FiveM console and kind the next command:
join [connection code]
For instance, if the connection code for a server is “12345”, you’ll kind the next command: