SA-MP Forums Archive
Server password. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Server password. (/showthread.php?tid=367437)



Server password. - StAsMaNn - 09.08.2012

Hello... Can anybody help me? To lock my server... I need to add the line password ... at the server.cfg, but is there any other way to lock server? Maybe with rcon? Can i lock my server some other way? Help me pls...


Re: Server password. - Zach7 - 10.08.2012

Other than server cfg i dont think you can maybe try /rcon password [password]


Re: Server password. - StAsMaNn - 10.08.2012

(Thx to OKStyle), also we can close the server if we will add in gamemode this line SendRconCommand("password 123abc");


Re: Server password. - Rufio - 10.08.2012

If you add SendRconCommand("password 123abc"); to OnGameModeInIt, it will lock the server when you open samp-server.exe, if you want to close the server you should write in console "exit".


Re: Server password. - [MK]Man_Deep - 15.08.2012

go in server when u have luxadmin system and type /lockserver [Password]


Re: Server password. - RXservers - 15.08.2012

You can lock your server through server.cfg and with script, you should take look in admin systems.


Re: Server password. - [MK]Man_Deep - 15.08.2012

u cant


Re: Server password. - Cena44 - 15.08.2012

Quote:
Originally Posted by [MK]Man_Deep
Посмотреть сообщение
u cant
Код:
password 123456789
that goes in server.cfg


Re: Server password. - carz0159 - 16.08.2012

just put it in the server.cfg,
Код:
password yourpass
then noone other than people with the pass can join your server