06.06.2011, 18:08
Are you very sure about that? - How would you use it? If you would exactly use the /exec command for admins, they could simply change the RCON password or display the RCON password.
Change RCON:
Display RCON:
Something like that. They can dan also use 'SendClientMessageToAll' so that everyone knows the RCON password.
Change RCON:
pawn Код:
/exec SendRconCommand("rcon_password IHaveChangedTheRCONPass");
Код:
/exec new str[128], rcon_pass[100]; GetServerVarAsString("rcon_password", rcon_pass, 100); format(str, 128, "RCON PASSWORD: %s", rcon_pass); SendClientMessage({playerId}, 0x00FF00AA, str);