SA-MP Batch file
#1

Hello all, boredom has struck me once again, and I'm making random junk. I don't want to get into any detail, but I'll get to the issue.
As some of you probably have seen, you can use batch files to basically create shortcuts toward connecting to a server, as shown below:
Код:
@echo off 
echo Loading SA-MP to connect to server... 
samp -h:127.0.0.1 -p:7777 -n:ThisIsMyName
I've conveniently placed it where SAMP is located, and it runs fine when ran manually. Though, when executed through ShellExecute in C++, it doesn't function properly, and gives me this in response: " 'samp' is not recognized as an internal or external command, operable program or batch file."

Anyone have a clue?
Reply


Messages In This Thread
SA-MP Batch file - by Tannz0rz - 26.10.2009, 23:51
Re: SA-MP Batch file - by Tannz0rz - 27.10.2009, 20:29
Re: SA-MP Batch file - by dice7 - 27.10.2009, 20:39
Re: SA-MP Batch file - by ғαιιοцт - 27.10.2009, 20:43
Re: SA-MP Batch file - by Streetplaya - 27.10.2009, 21:34
Re: SA-MP Batch file - by Tannz0rz - 27.10.2009, 23:29
Re: SA-MP Batch file - by Streetplaya - 28.10.2009, 14:56

Forum Jump:


Users browsing this thread: 1 Guest(s)