16.09.2009, 23:52
PingCheck() moved to 'Useful Functions'.
The way I use it is on every PayDay the RCON password is automatically changed. RconPass is defined at the top of the script and the code is in PayDay().
pawn Код:
new string[128], RconPass;
RconPass = random(999999);
format(string, sizeof(string), "rcon_password %d", RconPass);
SendRconCommand(string);
printf("[SYSTEM] A new RCON password has been set (%d).", RconPass);