SA-MP Forums Archive
Auto RCON Login - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Auto RCON Login (/showthread.php?tid=81235)



Auto RCON Login - steven_italy - 09.06.2009

Hey guys, how can i auto-login on the rcon on my server? i'm bored because every time that i log on i have to write /login [psw] to login in my account and /rcon login [psw] to login as rcon. If i put the password on SAMP Client before logging into a server, it doesnt work and i have to login with rcon anyway. What can i do?


Re: Auto RCON Login - Abernethy - 09.06.2009

Double click on your server, type your password in & click save. Connect via that double clicked window.


Re: Auto RCON Login - steven_italy - 09.06.2009

Quote:
Originally Posted by Abernethy
Double click on your server, type your password in & click save. Connect via that double clicked window.
I do this but when im in the server he say that im not rcon...


Re: Auto RCON Login - Abernethy - 09.06.2009

Hmm not sure than.


Re: Auto RCON Login - steven_italy - 09.06.2009

mmm how can i set that "IF MY PLAYER NICKNAME IS <admin> for example, log it as rcon"??


Re: Auto RCON Login - Vince - 09.06.2009

I don't think this is possible.
You can try the function SendRconCommand("login pswd"); in your /login comand. But since SendRconCommand no playerid parameter in it, so the server doesn't know who to login in RCON.