Making custom SAMP launcher
#1

Hello!

I'm interesting about making custom SAMP launcher with C# Form. This line will make player to connect to the server:

Код:
System.Diagnostics.Process.Start("samp://[IP]:[PORT]");
But I have two questions:

1) There is a default directory that user's PC finds samp.exe and with the given IP and port connects to the server. But how to access this directory to check for some folders like CLEO and etc and how to change this default directory?

2) If I want to prevent the player to connect with the original SAMP client, I need to put a password to my server so only my custom launcher will know the password. But how to write a code that use this password to connect to the server?
Reply


Messages In This Thread
Making custom SAMP launcher - by Brooks1 - 02.05.2018, 12:22
Re: Making custom SAMP launcher - by Brooks1 - 02.05.2018, 12:30
Re: Making custom SAMP launcher - by Brooks1 - 02.05.2018, 12:47
Re: Making custom SAMP launcher - by Brooks1 - 02.05.2018, 13:31
Re: Making custom SAMP launcher - by Brooks1 - 02.05.2018, 15:13
Re: Making custom SAMP launcher - by Splodyf23 - 02.05.2018, 15:50
Re: Making custom SAMP launcher - by Brooks1 - 02.05.2018, 15:53
Re: Making custom SAMP launcher - by git - 02.05.2018, 16:22
Re: Making custom SAMP launcher - by Y_Less - 02.05.2018, 17:30
Re: Making custom SAMP launcher - by Brooks1 - 02.05.2018, 17:37

Forum Jump:


Users browsing this thread: 3 Guest(s)