Control a SAMP Server on Linux
#1

ok, here we go;

1:- Linux is a kernal > Every Distrobution that is to do with linux will work, because the kernal is the same.
2:- Please dont post more and more topics on this subject.
3:- This should help you; else, go cry.
4:- This will work via - SSH (Putty etc.), PHP (just add shell_exec(' '); around each code).

OK, lets get down to business

1:
Starting your server:-
Код:
cd /location/of/samp/server     *Must be without a / on the end*
./samp02Xsvr    *This may be something different, so check what the main server file is called, if you download it from sa-mp.com, it will say samp(serverversion)svr*
2:
Stopping your server:-
Код:
pkill -9 -f samp02Xsvr        *The server name may be different to samp02Xsvr*
3:
Restarting your server:-
Код:
pkill -9 -f samp02Xsvr        *Again, the server name may be different to samp02Xsvr*
./samp02Xsvr             *Here again, we start the server, but the name could possibly be different*
Please Comment if you have something to add to this =>

Cheers

Darkrider366
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)