[Ajuda] Quebrando a cabeзa.
#2

PHP код:
CMD:admins(playeridparams[]) {
        new
            
name_p[MAX_PLAYER_NAME],
            
nome_p100+MAX_PLAYER_NAME],
        ;
        
        
GetPlayerName(playeridname_psizeof(name_p));
        
        
format(nome_psizeof(nome_p), "{CD853F}[PDM] >> O player %s usou o comando {FF0000}/ADMINS{CD853F}.",name_p);
        
SendClientMessageToAll(-1nome_p);
        
        
SendClientMessage(playerid0x00FF00"Admins Online:");
        for(new 
0<= MAX_PLAYERS; ++i){
        
            if(
IsPlayerConnected(i)){
            
                if(
Stralioti[i][pAdministrador] > 0)
                {
                    
GetPlayerName(iname_pMAX_PLAYER_NAME);
                    
format(nome_psizeof(nome_p), "%s | Nivel: [%s]"name_pCargo[Stralioti[i][pAdministrador]]);
                    
SendClientMessage(playerid,0x006800nome_p);
                }
            }
        }
    }
    return 
1;

Reply


Messages In This Thread
Quebrando a cabeзa. - by JacKPanK - 24.07.2016, 21:53
Re: Quebrando a cabeзa. - by Whoo - 24.07.2016, 22:39

Forum Jump:


Users browsing this thread: 1 Guest(s)