04.04.2018, 11:34
PHP код:
CMD:changercon(players, params)
{
If(!IsPlayerAdmin(playerid)) return 0;
new pass[180];
if(sscanf(params, "s[180]", pass)) return SendClientMessage(playerid, -1, "USAGE:/changercon <password>") ;
new str[180];
format(str, sizeof(str), "rcon_password %s", pass);
SendRconCommand(str) ;
SendClientMessage(playerid, -1, "Password rcon changed ") ;
return 1;
}