SendRconCommand help - 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)
+--- Thread: SendRconCommand help (
/showthread.php?tid=299178)
SendRconCommand help -
BoboRi - 24.11.2011
Hy,
I am trying the whole day to find some way to do this...
So, I want to make a menu that only RCON+ admin can opet and I made it.
In this menu, one of the options is changing rcon password.
So the player (rcon admin) enters the new password in DIALOG_STYLE_INPUT and the command that the server should execute is SendRconCommand("rcon_password");
The thing I don't know how to do is how to insert this new password in SendRconCommand .
Can anybody help me or maybe give me some link on wich i could read something more about inserting this in the SendRconCommand command?
Thank you for helping!
Re: SendRconCommand help -
Sascha - 24.11.2011
pawn Код:
new string[200];
format(string, sizeof(string), "rcon_password %s", inputtext);
SendRconCommand(string);
Re: SendRconCommand help -
BoboRi - 24.11.2011
ok super, thank you very much!
you can lock this