How to make a launcher client side

Hello everyone, I would like to know if someone would explain to me how to make a launcher fivem client side.

Let me explain.
in a way it would be useful for the player to connect directly without entering an ip address to connect to the server.
this can also be used to load client-side mods.
and many other applications …

on the other hand I do not know how to proceed to create one.

give me just a few tracks to point me in the right direction.

In the meantime I intend to share a customer launcher with the community.

Thank you in advance for your assistance.

Sorry for my bad english

Something like C# WPF and use fivem:// to connect to the server

1 Like

ok thank you, I will look on this side. I suspected it was with C #.
can you give me a link, help me a little more.

The launcher is up to you to create, no help could be given there. to join a server, use fivem://. The application part you want to build is fully up to you.

Yes, I know it. I was just asking for examples, not for me to do it. I’m going to do my research. thanks anyway ,

have a wiki that explains how the command works: fivem: //
because the command as it does not explain to me at all how it works.
what are the arguments that must be made

Just fivem://ip:port

Just tested it with a quick button i made connecting through url.

private void JoinServer_Click(object sender, RoutedEventArgs e)
        {
            Buttons.JoinServer("fivem://ip:30120");
        }

i obviously had something for “ip” but it still doesnt work. All it did was open the game to the main menu.

you need to wait some time before it connects. It doesn’t connect right away.

oh ok thank you. It works lol

i tried the code in c# and dosnt connect.
here is the code

public partial class Form1 : Form
{
    public string Ip { get; set; }
    public int Port { get; set; }
    public Form1()
    {
        InitializeComponent();
        InitializeComponent();
        Ip = "IP";
        Port = 30120;
    }


	private void Form1_Load(object sender, EventArgs e)
	{

	}

    private void rectangleShape1_Click(object sender, EventArgs e)
    {
       
        System.Diagnostics.Process.Start("fivem://{Ip}:{Port}");
        MessageBox.Show("fivem://{Ip}:{Port}");
    
    }

Please have a look at my answer in your own topic.

TLDR: The URL is wrong. It should be fivem://connect/ip:port

3 Likes

Did someone make it?
And can he explain it to me? :smile:

Start learning C# desktop development. Things like: https://docs.microsoft.com/en-us/visualstudio/ide/step-1-create-a-windows-forms-application-project?view=vs-2019

(or pick another language with GUI support. Pick your poison but C# is in my opinion the easiest)

HOW DO i maake this an exe

1 Like

hello i will just jump ind her and ask how to do so the client will stream cars and more. ind a rpf file :smile: