Help with rcon script - 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: Help with rcon script (
/showthread.php?tid=209420)
Help with rcon script -
Sepelin - 10.01.2011
could someone give me a script when someone connect to the server it auto logins to rcon.
Dont want to give out rcon password
Re: Help with rcon script -
Scenario - 10.01.2011
You cannot automatically log them in as an RCON admin, they'll have to do /rcon login <insert password here>.
Re: Help with rcon script -
Sascha - 10.01.2011
you can create commands that are similar to the rcon commands to pretend them to be logged in..
like:
/loadfs
and then just use SendRconCommand(blablabla);
Re: Help with rcon script -
Scenario - 10.01.2011
I don't understand why you would want to log them in as an RCON admin though; they would have full access to the server. You would be better off developing your own (or downloading a released) admin system.
Re: Help with rcon script -
Rizard - 10.01.2011
you don't want to give out the rcon password but you want other players to just auto-login.... then they can do everything without needing the password mate .... not so good.
better for you to change your script (the commands) so they don't have 'IsPlayerAdmin()' but check there for admin level.
this might help
PS: sorry .... I didn't notice there were like 4 posts during the one I made
Re: Help with rcon script -
alpha500delta - 10.01.2011
Maybe "SendRconCommand("login PASSWORD");" works?
Re: Help with rcon script -
Sascha - 10.01.2011
no it doesn't
I tried something like that, too a year ago or so
it responses to IsPlayerAdmin only, therefore it doesn't take useage of that command.