[Ajuda]com o cmd /desbanall
#5

Era isso que eu queria falar ... Malz.

O codigo correto, acredito eu, seria assim:

PHP Code:
    if(strcmp(cmd,"/desbanall",true)==0)
    {
        if(
PlayerInfo[playerid][pAdmin] >= 1340)
        {
            new 
str[100], n[24];
            
format(strsizeof(str), "Banidos");
            
dini_Remove(str);
            
dini_Create(str);
            
format(strsizeof(str), "IPsBanidos");
            
dini_Remove(str);
            
dini_Create(str);
            
GetPlayerName(playeridnsizeof(n));
            if(
admtrampando[playerid] == && admhide[playerid] == 1)
            {
                
format(str128"ADM: Alguem desbaniu todos.");
                
ABroadCast(COLOR_YELLOW,str,1);
            }
            else
            {
                
format(str128"ADM: %s desbaniu todos"sendername);
                
ABroadCast(COLOR_YELLOW,str,1);
            }
        }
        return 
1;
    } 
Reply


Messages In This Thread
[Ajuda]com o cmd /desbanall - by Titуko_avara - 25.06.2011, 21:27
Re: [Ajuda]com o cmd /desbanall - by rjjj - 26.06.2011, 23:06
Re: [Ajuda]com o cmd /desbanall - by Shadoww5 - 26.06.2011, 23:23
Re: [Ajuda]com o cmd /desbanall - by Ricop522 - 26.06.2011, 23:32
Re: [Ajuda]com o cmd /desbanall - by Shadoww5 - 26.06.2011, 23:37

Forum Jump:


Users browsing this thread: 1 Guest(s)