10.12.2014, 21:14
You can use execution parameters and something such as Visual Basic or C.
SAMP.exe is basically like a website. It has certain "pages", otherwise known as execution parameters. As far as I know there are only 2 parameters(whereas the latter is optional).
Parameters:
Server IP
Port
Example with both parameters:
Example without a port parameter:
It is important to know that the name is in the registry. (The reg key is SOFTWARE/SAMP).
Then it's a matter of visual work. Note; you'll probably want to validate that SOFTWARE/SAMP exists and has a valid SAMP installation path.
SAMP.exe is basically like a website. It has certain "pages", otherwise known as execution parameters. As far as I know there are only 2 parameters(whereas the latter is optional).
Parameters:
Server IP
Port
Example with both parameters:
Code:
samp.exe 127.0.0.1 7777
Code:
samp.exe 127.0.0.1
Then it's a matter of visual work. Note; you'll probably want to validate that SOFTWARE/SAMP exists and has a valid SAMP installation path.