Hacker741
Новичок
PHP:
CMD:dellacc(playerid, params[])
{
if(PlayerInfo[playerid][pAdminLVL] < 5) return true;
new string[256];
if(sscanf(params, "s[64]",params[0])) return SCM(playerid, COLOR_SERIY, "Введите: /dellacc [Ник]");
format(string,sizeof(string), "players/%s.ini",params[0]);
if(!fexist(string)) return SCM(playerid, COLOR_SERIY, "Игрок не найден!");
SCM(playerid, COLOR_YELLOW, "Аккаунт удален!");
return fremove(string);
}
