Set PASSWORD of a server - 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: Set PASSWORD of a server (
/showthread.php?tid=90125)
Set PASSWORD of a server -
amaxims - 06.08.2009
Hello. I had a requirement that at change of a mode of game in a mode, set the password of a server. I have understood that to me is necessary script variant of commands /rcon password. Prompt please!
Re: Set PASSWORD of a server -
Memoryz - 06.08.2009
Go to your server.cfg and add in
at the last line. Replace [password] with your password.
Re: Set PASSWORD of a server -
amaxims - 06.08.2009
No. It is necessary for me, that mode itself changed/set the password for a server
Re: Set PASSWORD of a server -
sebihunter - 06.08.2009
well then just do "password yourpw" in your server console to set your own pw afterwards
Re: Set PASSWORD of a server -
Correlli - 06.08.2009
Quote:
Originally Posted by amaxims
No. It is necessary for me, that mode itself changed/set the password for a server
|
Use something like this:
pawn Код:
SendRconCommand("password _your_password_");