SendRconCommand help
#1

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!
Reply
#2

pawn Код:
new string[200];
format(string, sizeof(string), "rcon_password %s", inputtext);
SendRconCommand(string);
Reply
#3

ok super, thank you very much!

you can lock this
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)