[Ajuda] Como colocar nivel ADM na tag do xat
#9

Atualizando
PHP код:
    SetPlayerChatBubble(playeridtextVermelho50.010000);
       if(
dini_Int(file,"Admin") == 1)
    {
        new 
stringv[128];
        new 
pname[MAX_PLAYER_NAME];
        
GetPlayerName(playerid,pname,sizeof(pname));
        
format(stringvsizeof(stringv), "%s [ID: %d] {00FF00}[{FF0000}MOD{00FF00}]{00FFFF} %s",pname,playerid,text);
        
SendClientMessageToAll(GetPlayerColor(playerid),stringv);
        return 
0;
    }
           if(
dini_Int(file,"Admin") == 2)
    {
        new 
stringv[128];
        new 
pname[MAX_PLAYER_NAME];
        
GetPlayerName(playerid,pname,sizeof(pname));
        
format(stringvsizeof(stringv), "%s [ID: %d] {00FF00}[{FF0000}SUPERMOD{00FF00}]{00FFFF} %s",pname,playerid,text);
        
SendClientMessageToAll(GetPlayerColor(playerid),stringv);
        return 
0;
    }
           if(
dini_Int(file,"Admin") == 3)
    {
        new 
stringv[128];
        new 
pname[MAX_PLAYER_NAME];
        
GetPlayerName(playerid,pname,sizeof(pname));
        
format(stringvsizeof(stringv), "%s [ID: %d] {00FF00}[{FF0000}ADM{00FF00}]{00FFFF} %s",pname,playerid,text);
        
SendClientMessageToAll(GetPlayerColor(playerid),stringv);
        return 
0;
    }
           if(
dini_Int(file,"Admin") == 4)
    {
        new 
stringv[128];
        new 
pname[MAX_PLAYER_NAME];
        
GetPlayerName(playerid,pname,sizeof(pname));
        
format(stringvsizeof(stringv), "%s [ID: %d] {00FF00}[{FF0000}SUBDONO{00FF00}]{00FFFF} %s",pname,playerid,text);
        
SendClientMessageToAll(GetPlayerColor(playerid),stringv);
        return 
0;
    }
           if(
dini_Int(file,"Admin") == 5)
    {
        new 
stringv[128];
        new 
pname[MAX_PLAYER_NAME];
        
GetPlayerName(playerid,pname,sizeof(pname));
        
format(stringvsizeof(stringv), "%s [ID: %d] {00FF00}[{FF0000}DONO{00FF00}]{00FFFF} %s",pname,playerid,text);
        
SendClientMessageToAll(GetPlayerColor(playerid),stringv);
        return 
0;
    }
    
    if(
dini_Int(file,"VIP") == 1)
    {
        new 
stringv[128];
        new 
pname[MAX_PLAYER_NAME];
        
GetPlayerName(playerid,pname,sizeof(pname));
        
format(stringvsizeof(stringv), "%s [ID: %d] {00FF00}[{FF0000}VIP{00FF00}]{00FFFF} %s",pname,playerid,text);
        
SendClientMessageToAll(GetPlayerColor(playerid),stringv);
        return 
0;
    }
    if(
Chatlb == 1)
    {
        
format(stringsizeof(string), "[ID: %d] {00FF00}[{FF0000}JOGADOR{00FF00}]{00FFFF} %s"playeridtext);
        
SendPlayerMessageToAll(playeridstring);
    }
    else
    {
        
ChatProximo(playeridtext);
    }
    return 
0;

Vlw
Reply


Messages In This Thread
Como colocar nivel ADM na tag do xat - by focaximubh - 09.09.2012, 21:38
Re: Como colocar nivel ADM na tag do xat - by Coreia - 09.09.2012, 21:53
Re: Como colocar nivel ADM na tag do xat - by focaximubh - 09.09.2012, 21:55
Re: Como colocar nivel ADM na tag do xat - by Coreia - 09.09.2012, 21:59
Re: Como colocar nivel ADM na tag do xat - by StreetGT - 09.09.2012, 22:00
Re: Como colocar nivel ADM na tag do xat - by Jason` - 09.09.2012, 22:05
Re: Como colocar nivel ADM na tag do xat - by focaximubh - 09.09.2012, 22:39
Re: Como colocar nivel ADM na tag do xat - by GabrielRibeiro - 27.05.2014, 15:05
Re: Como colocar nivel ADM na tag do xat - by Matheus0811 - 12.06.2014, 16:12
Re: Como colocar nivel ADM na tag do xat - by TheEndGamer - 05.02.2016, 16:36

Forum Jump:


Users browsing this thread: 1 Guest(s)