samp.exe question
#3

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;
Code:
Shell(lokasyon & "\samp.exe ip")
Example:
Code:
Shell("C://Administrator/Program Files(x86)/Rockstar Games/GTA San Andreas", "\samp.exe server.ls-rp.com");
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:
Code:
Shell("C://Administrator/Program Files(x86)/Rockstar Games/GTA San Andreas", "\samp.exe server.ls-rp.com:7777");
Correct me if I am wrong.
Reply


Messages In This Thread
samp.exe question - by varrojames - 30.11.2014, 17:30
Re: samp.exe question - by Diabloa - 30.11.2014, 17:53
Re: samp.exe question - by Abagail - 01.12.2014, 02:22

Forum Jump:


Users browsing this thread: 1 Guest(s)