01.12.2014, 02:22
Yes it does. If you look at a custom client such as GTATurk you can see exactly how they do it. Here's the code from the GTATurk client;
Example:
Basically, the params are the server address, and the IP. It is very important that you recognize SA:MP will load the username from the regkey. You need to set it, or make sure it's set before launching SA-MP.
I believe using a port it would be:
Correct me if I am wrong.
Code:
Shell(lokasyon & "\samp.exe ip")
Code:
Shell("C://Administrator/Program Files(x86)/Rockstar Games/GTA San Andreas", "\samp.exe server.ls-rp.com");
I believe using a port it would be:
Code:
Shell("C://Administrator/Program Files(x86)/Rockstar Games/GTA San Andreas", "\samp.exe server.ls-rp.com:7777");