26.10.2009, 23:51
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:
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?
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
Anyone have a clue?