[Ajuda] /ban em zcmd.
#5

Код:
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; 
} 
}
Reply


Messages In This Thread
/ban em zcmd. - by Luiiiz - 14.12.2016, 15:20
Re: /ban em zcmd. - by FStralioti - 14.12.2016, 16:05
Re: /ban em zcmd. - by LockedLucas - 14.12.2016, 16:54
Re: /ban em zcmd. - by wender_sousa - 14.12.2016, 17:28
Re: /ban em zcmd. - by F1N4L - 14.12.2016, 17:30
Re: /ban em zcmd. - by Luiiiz - 14.12.2016, 17:51
Re: /ban em zcmd. - by LockedLucas - 14.12.2016, 17:57
Re: /ban em zcmd. - by Luiiiz - 14.12.2016, 18:24

Forum Jump:


Users browsing this thread: 2 Guest(s)