14.12.2016, 17:30
Код:
public OnPlayerConnect(playerid) { new file[50], pname[MAX_PLAYER_NAME], getbanval; GetPlayerName(playerid, pname, sizeof(pname)); format(file, sizeof(file), "Contas/%s.ini", pname); getbanval = DOF2_GetInt(file, "Banido"); if(getbanval){ SendClientMessage(playerid, 0xFF0000AA, "[ERRO] Vocк estб banido do servidor."); Kick(playerid); return 1; }else{ Tentativas[playerid] = 0; return 1; } }