[Ajuda] Problemas em /r e /d
#6

@Edit. Aqui estб os cуdigos /R e /D , procura no seu GM por SendFamilyMessage e posta ae por favor .

PHP код:
//----------------------------------[Team]-----------------------------------------------
    
if(strcmp(cmd"/radio"true) == || strcmp(cmd"/r"true) == 0)
    {
        if(
PlayerInfo[playerid][pMuted] == 1)
        {
            
SendClientMessage(playeridTEAM_CYAN_COLOR"Vocк nгo pode falar, pois foi calado");
            return 
true;
        }
        if(
IsPlayerConnected(playerid))
        {
            
GetPlayerName(playeridsendernamesizeof(sendername));
            new 
length strlen(cmdtext);
            while ((
idx length) && (cmdtext[idx] <= ' '))
            {
                
idx++;
            }
            new 
offset idx;
            new 
result[64];
            while ((
idx length) && ((idx offset) < (sizeof(result) - 1)))
            {
                
result[idx offset] = cmdtext[idx];
                
idx++;
            }
            
result[idx offset] = EOS;
            if(!
strlen(result))
            {
                
SendClientMessage(playeridCOLOR_R"USE: (/r)adio [radio chat]");
                return 
true;
            }
            if(
TentouDivulgar(result))
            {
                if(
cdivulgar[playerid] >= 4)
                {
                    
SendClientMessage(playeridCOLOR_LIGHTBLUE,"Aqui vocк nгo pode anunciar servidores!");
                    
SendClientMessage(playeridCOLOR_LIGHTBLUE,"Seu servidor й uma merda, nгo divulgue-o aqui!");
                    
SendClientMessage(playeridCOLOR_LIGHTBLUE,"Seu noob peguei esse IP e vou divulgar nesse server tambйm, uaheuhaeuhaeahe!");
                    
PlayerPlaySound(playerid11330.00.00.0);
                    
Kick(playerid);
                }
                
GetPlayerName(playeridplayernameMAX_PLAYER_NAME);
                
format(string128"AdmAviso: [%d]%s tentou divulgar: %s.",playerid,playername,result);
                
ABroadCast(COLOR_YELLOW,string,1);
                
DivulgouLog(string);
                
cdivulgar[playerid] += 1;
                return 
true;
            }
            if(
PlayerInfo[playerid][pMembro] == || PlayerInfo[playerid][pLider] == 1)
            {
                if(
PlayerInfo[playerid][pCargo] == 6) { format(stringsizeof(string), "** Comandante %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 5) { format(stringsizeof(string), "** Capitгo %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 4) { format(stringsizeof(string), "** Tenente %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 3) { format(stringsizeof(string), "** Sargento %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 2) { format(stringsizeof(string), "** Cabo %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 1) { format(stringsizeof(string), "** Cadete %s: %s, cвmbio. **"sendernameresult); }
                else
                {
                    
format(stringsizeof(string), "** Guarda %s: %s, cвmbio. **"sendernameresult);
                }
                
SendFamilyMessage(1,COLOR_R,string);
                
printf("%s"string);
                
format(stringsizeof(string), "* %s falou algo no rбdio."sendername);
                
ProxDetector(20.0playeridstringCOLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                return 
true;
            }
            else if(
PlayerInfo[playerid][pMembro] == || PlayerInfo[playerid][pLider] == 7)
            {
                if(
PlayerInfo[playerid][pCargo] == 6) { format(stringsizeof(string), "** Prefeito %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 5) { format(stringsizeof(string), "** Vice-Prefeito %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 4) { format(stringsizeof(string), "** Acessor %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 3) { format(stringsizeof(string), "** Vereador %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 2) { format(stringsizeof(string), "** Seguranзa %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 1) { format(stringsizeof(string), "** Motorista %s: %s, cвmbio. **"sendernameresult); }
                else
                {
                    
format(stringsizeof(string), "** Motorista %s: %s, cвmbio. **"sendernameresult);
                }
                
SendFamilyMessage(7,COLOR_R,string);
                
printf("%s"string);
                
format(stringsizeof(string), "* %s falou algo no rбdio."sendername);
                
ProxDetector(20.0playeridstringCOLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                return 
true;
            }
            else if(
PlayerInfo[playerid][pMembro] == || PlayerInfo[playerid][pLider] == 2)
            {
                if(
PlayerInfo[playerid][pCargo] == 6) { format(stringsizeof(string), "** Capitгo %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 5) { format(stringsizeof(string), "** Tenente %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 4) { format(stringsizeof(string), "** Sargento %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 3) { format(stringsizeof(string), "** Cabo %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 2) { format(stringsizeof(string), "** Soldado %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 1) { format(stringsizeof(string), "** Recruta %s: %s, cвmbio. **"sendernameresult); }
                else
                {
                    
format(stringsizeof(string), "** Recruta %s: %s, cвmbio. **"sendernameresult);
                }
                
SendFamilyMessage(2,COLOR_R,string);
                
printf("%s"string);
                
format(stringsizeof(string), "* %s falou algo no rбdio."sendername);
                
ProxDetector(20.0playeridstringCOLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                return 
true;
            }
            else if(
PlayerInfo[playerid][pMembro] == || PlayerInfo[playerid][pLider] == 3)
            {
                if(
PlayerInfo[playerid][pCargo] == 6) { format(stringsizeof(string), "** General %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 5) { format(stringsizeof(string), "** Tenente Coronel %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 4) { format(stringsizeof(string), "** Major %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 3) { format(stringsizeof(string), "** Capitгo %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 2) { format(stringsizeof(string), "** Sargento %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 1) { format(stringsizeof(string), "** Soldado %s: %s, cвmbio. **"sendernameresult); }
                else
                {
                    
format(stringsizeof(string), "** Soldado %s: %s, cвmbio. **"sendernameresult);
                }
                
SendFamilyMessage(3,COLOR_R,string);
                
printf("%s"string);
                
format(stringsizeof(string), "* %s falou algo no rбdio."sendername);
                
ProxDetector(20.0playeridstringCOLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                return 
true;
            }
            else if(
PlayerInfo[playerid][pMembro] == || PlayerInfo[playerid][pLider] == 4)
            {
                if(
PlayerInfo[playerid][pCargo] == 6) { format(stringsizeof(string), "** Diretor Hospitalar %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 5) { format(stringsizeof(string), "** Sub-Diretor %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 4) { format(stringsizeof(string), "** Mйdico Profissional %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 3) { format(stringsizeof(string), "** Mйdico %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 2) { format(stringsizeof(string), "** Enfermeiro %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 1) { format(stringsizeof(string), "** Auxiliar de Enfermeiro %s: %s, cвmbio. **"sendernameresult); }
                else
                {
                    
format(stringsizeof(string), "** Auxiliar de Enfermeiro %s: %s, cвmbio. **"sendernameresult);
                }
                
SendFamilyMessage(4,COLOR_R,string);
                
printf("%s"string);
                
format(stringsizeof(string), "* %s falou algo no rбdio."sendername);
                
ProxDetector(20.0playeridstringCOLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                return 
true;
            }
            else if(
PlayerInfo[playerid][pMembro]== 16 || PlayerInfo[playerid][pLider]== 16)
            {
                if(
PlayerInfo[playerid][pCargo] == 6) { format(stringsizeof(string), "** Lнder %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 5) { format(stringsizeof(string), "** Perito Criminal %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 4) { format(stringsizeof(string), "** Atirador de Elite %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 3) { format(stringsizeof(string), "** Agente Do G.E.R %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 2) { format(stringsizeof(string), "** Agente Do G.O.E %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 1) { format(stringsizeof(string), "** Novato %s: %s, cвmbio. **"sendernameresult); }
                else
                {
                    
format(stringsizeof(string), "** Novato %s: %s, cвmbio. **"sendernameresult);
                }
                
SendFamilyMessage(16,COLOR_R,string);
                
printf("%s"string);
                
format(stringsizeof(string), "* %s falou algo no rбdio."sendername);
                
ProxDetector(20.0playeridstringCOLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                return 
true;
            }
               else if(
PlayerInfo[playerid][pMembro]== 11 || PlayerInfo[playerid][pLider]== 11)
            {
                if(
PlayerInfo[playerid][pCargo] == 6) { format(stringsizeof(string), "** Lнder %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 5) { format(stringsizeof(string), "** Sub-Lнder %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 4) { format(stringsizeof(string), "** Capitгo %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 3) { format(stringsizeof(string), "** Atirador %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 2) { format(stringsizeof(string), "** Espiгo %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 1) { format(stringsizeof(string), "** Agente %s: %s, cвmbio. **"sendernameresult); }
                else
                {
                    
format(stringsizeof(string), "** Agente %s: %s, cвmbio. **"sendernameresult);
                }
                
SendFamilyMessage(11,COLOR_R,string);
                
printf("%s"string);
                
format(stringsizeof(string), "* %s falou algo no rбdio."sendername);
                
ProxDetector(20.0playeridstringCOLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                return 
true;
            }
              else if(
PlayerInfo[playerid][pMembro] == 24 || PlayerInfo[playerid][pLider] == 24)
            {
                if(
PlayerInfo[playerid][pCargo] == 6) { format(stringsizeof(string), "** Tenente-Brigadeiro %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 5) { format(stringsizeof(string), "** Brigadeiro %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 4) { format(stringsizeof(string), "** Coronel %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 3) { format(stringsizeof(string), "** Tenente %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 2) { format(stringsizeof(string), "** Sargento %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 1) { format(stringsizeof(string), "** Soldado %s: %s, cвmbio. **"sendernameresult); }
                else
                {
                    
format(stringsizeof(string), "** Soldado %s: %s, cвmbio. **"sendernameresult);
                }
                
SendFamilyMessage(24,COLOR_R,string);
                
printf("%s"string);
                
format(stringsizeof(string), "* %s falou algo no rбdio."sendername);
                
ProxDetector(20.0playeridstringCOLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                return 
true;
            }
            }
            else
            {
                
SendClientMessage(playeridCOLOR_GRAD2"   Vocк nгo й de nenhuma equipe !");
                return 
true;
            }
        }
        return 
true;
    } 
PHP код:
//----------------------------------[departments]-----------------------------------------------
    
if(strcmp(cmd"/departamento"true) == || strcmp(cmd"/d"true) == 0)
    {
        if(
IsPlayerConnected(playerid))
        {
            
GetPlayerName(playeridsendernamesizeof(sendername));
            new 
length strlen(cmdtext);
            while ((
idx length) && (cmdtext[idx] <= ' '))
            {
                
idx++;
            }
            new 
offset idx;
            new 
result[64];
            while ((
idx length) && ((idx offset) < (sizeof(result) - 1)))
            {
                
result[idx offset] = cmdtext[idx];
                
idx++;
            }
            
result[idx offset] = EOS;
            if(!
strlen(result))
            {
                
SendClientMessage(playeridCOLOR_DEPTH"USE: (/d)epartamento [Texto]");
                return 
true;
            }
            if(
TentouDivulgar(result))
            {
                if(
cdivulgar[playerid] >= 4)
                {
                    
SendClientMessage(playeridCOLOR_LIGHTBLUE,"Aqui vocк nгo pode anunciar servidores!");
                    
SendClientMessage(playeridCOLOR_LIGHTBLUE,"Seu servidor й uma merda, nгo divulgue-o aqui!");
                    
SendClientMessage(playeridCOLOR_LIGHTBLUE,"Seu noob peguei esse IP e vou divulgar nesse server tambйm, uaheuhaeuhaeahe!");
                    
PlayerPlaySound(playerid11330.00.00.0);
                    
Kick(playerid);
                }
                
GetPlayerName(playeridplayernameMAX_PLAYER_NAME);
                
format(string128"AdmAviso: [%d]%s tentou divulgar: %s.",playerid,playername,result);
                
ABroadCast(COLOR_YELLOW,string,1);
                
DivulgouLog(string);
                
cdivulgar[playerid] += 1;
                return 
true;
            }
            if(
PlayerInfo[playerid][pMembro] == || PlayerInfo[playerid][pLider] == 1)
            {
                if(
PlayerInfo[playerid][pCargo] == 6) { format(stringsizeof(string), "** PM Lнder %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 5) { format(stringsizeof(string), "** PM %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 4) { format(stringsizeof(string), "** PM %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 3) { format(stringsizeof(string), "** PM %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 2) { format(stringsizeof(string), "** PM %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 1) { format(stringsizeof(string), "** Cadete %s: %s, cвmbio. **"sendernameresult); }
                else
                {
                    
format(stringsizeof(string), "** Policia Militar %s: %s, cвmbio. **"sendernameresult);
                }
                
SendFamilyMessage(2COLOR_DEPTHstring);
                
SendFamilyMessage(1COLOR_DEPTHstring);
                
SendFamilyMessage(3COLOR_DEPTHstring);
                
SendFamilyMessage(16COLOR_DEPTHstring);
                
SendFamilyMessage(7COLOR_DEPTHstring);
                
SendFamilyMessage(11COLOR_DEPTHstring);
                
SendFamilyMessage(4COLOR_DEPTHstring);
                
SendFamilyMessage(24COLOR_DEPTHstring);
                
printf("%s"string);
                return 
true;
            }
            else if(
PlayerInfo[playerid][pMembro] == || PlayerInfo[playerid][pLider] == 2)
            {
                if(
PlayerInfo[playerid][pCargo] == 6) { format(stringsizeof(string), "** B.O.P.E Lнder %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 5) { format(stringsizeof(string), "** B.O.P.E %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 4) { format(stringsizeof(string), "** B.O.P.E %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 3) { format(stringsizeof(string), "** B.O.P.E %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 2) { format(stringsizeof(string), "** B.O.P.E %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 1) { format(stringsizeof(string), "** B.O.P.E %s: %s, cвmbio. **"sendernameresult); }
                else
                {
                    
format(stringsizeof(string), "** B.O.P.E %s: %s, cвmbio. **"sendernameresult);
                }
                
SendFamilyMessage(2COLOR_DEPTHstring);
                
SendFamilyMessage(1COLOR_DEPTHstring);
                
SendFamilyMessage(3COLOR_DEPTHstring);
                
SendFamilyMessage(16COLOR_DEPTHstring);
                
SendFamilyMessage(7COLOR_DEPTHstring);
                
SendFamilyMessage(11COLOR_DEPTHstring);
                
SendFamilyMessage(4COLOR_DEPTHstring);
                
SendFamilyMessage(24COLOR_DEPTHstring);
                
printf("%s"string);
                return 
true;
            }
            else if(
PlayerInfo[playerid][pMembro] == || PlayerInfo[playerid][pLider] == 3)
            {
                if(
PlayerInfo[playerid][pCargo] == 6) { format(stringsizeof(string), "** Exйrcito Lнder %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 5) { format(stringsizeof(string), "** Exйrcito %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 4) { format(stringsizeof(string), "** Exйrcito %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 3) { format(stringsizeof(string), "** Exйrcito %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 2) { format(stringsizeof(string), "** Exйrcito %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 1) { format(stringsizeof(string), "** Exйrcito %s: %s, cвmbio. **"sendernameresult); }
                else
                {
                    
format(stringsizeof(string), "** Exercito %s: %s, cвmbio. **"sendernameresult);
                }
                
SendFamilyMessage(2COLOR_DEPTHstring);
                
SendFamilyMessage(1COLOR_DEPTHstring);
                
SendFamilyMessage(3COLOR_DEPTHstring);
                
SendFamilyMessage(16COLOR_DEPTHstring);
                
SendFamilyMessage(7COLOR_DEPTHstring);
                
SendFamilyMessage(11COLOR_DEPTHstring);
                
SendFamilyMessage(4COLOR_DEPTHstring);
                
SendFamilyMessage(24COLOR_DEPTHstring);
                
printf("%s"string);
                return 
true;
            }
               else if(
PlayerInfo[playerid][pMembro] == || PlayerInfo[playerid][pLider] == 7)
            {
                if(
PlayerInfo[playerid][pCargo] == 6) { format(stringsizeof(string), "** Prefeito %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 5) { format(stringsizeof(string), "** Vice-Prefeito %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 4) { format(stringsizeof(string), "** Acessor %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 3) { format(stringsizeof(string), "** Agente do Governo %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 2) { format(stringsizeof(string), "** Seguranзa do Governo %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 1) { format(stringsizeof(string), "** Motorista do Governo %s: %s, cвmbio. **"sendernameresult); }
                else
                {
                    
format(stringsizeof(string), "** Governo %s: %s, cвmbio. **"sendernameresult);
                }
                
SendFamilyMessage(2COLOR_DEPTHstring);
                
SendFamilyMessage(1COLOR_DEPTHstring);
                
SendFamilyMessage(3COLOR_DEPTHstring);
                
SendFamilyMessage(16COLOR_DEPTHstring);
                
SendFamilyMessage(7COLOR_DEPTHstring);
                
SendFamilyMessage(11COLOR_DEPTHstring);
                
SendFamilyMessage(4COLOR_DEPTHstring);
                
SendFamilyMessage(24COLOR_DEPTHstring);
                
printf("%s"string);
                return 
true;
            }
            else if(
PlayerInfo[playerid][pMembro] == 16 || PlayerInfo[playerid][pLider] == 16)
            {
                if(
PlayerInfo[playerid][pCargo] == 6) { format(stringsizeof(string), "** PC Lнder %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 5) { format(stringsizeof(string), "** PC %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 4) { format(stringsizeof(string), "** PC %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 3) { format(stringsizeof(string), "** PC %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 2) { format(stringsizeof(string), "** PC %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 1) { format(stringsizeof(string), "** PC %s: %s, cвmbio. **"sendernameresult); }
                else
                {
                    
format(stringsizeof(string), "** Policia Civil %s: %s, cвmbio. **"sendernameresult);
                }
                
SendFamilyMessage(2COLOR_DEPTHstring);
                
SendFamilyMessage(1COLOR_DEPTHstring);
                
SendFamilyMessage(3COLOR_DEPTHstring);
                
SendFamilyMessage(16COLOR_DEPTHstring);
                
SendFamilyMessage(7COLOR_DEPTHstring);
                
SendFamilyMessage(11COLOR_DEPTHstring);
                
SendFamilyMessage(4COLOR_DEPTHstring);
                
SendFamilyMessage(24COLOR_DEPTHstring);
                
printf("%s"string);
                return 
true;
            }
               else if(
PlayerInfo[playerid][pMembro] == 11 || PlayerInfo[playerid][pLider] == 11)
            {
                if(
PlayerInfo[playerid][pCargo] == 6) { format(stringsizeof(string), "** PF Lнder %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 5) { format(stringsizeof(string), "** PF %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 4) { format(stringsizeof(string), "** PF %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 3) { format(stringsizeof(string), "** PF %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 2) { format(stringsizeof(string), "** PF %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 1) { format(stringsizeof(string), "** PF %s: %s, cвmbio. **"sendernameresult); }
                else
                {
                    
format(stringsizeof(string), "** PF %s: %s, cвmbio. **"sendernameresult);
                }
                
SendFamilyMessage(2COLOR_DEPTHstring);
                
SendFamilyMessage(1COLOR_DEPTHstring);
                
SendFamilyMessage(3COLOR_DEPTHstring);
                
SendFamilyMessage(16COLOR_DEPTHstring);
                
SendFamilyMessage(7COLOR_DEPTHstring);
                
SendFamilyMessage(11COLOR_DEPTHstring);
                
SendFamilyMessage(4COLOR_DEPTHstring);
                
SendFamilyMessage(24COLOR_DEPTHstring);
                
printf("%s"string);
                return 
true;
            }
            else if(
PlayerInfo[playerid][pMembro] == 24 || PlayerInfo[playerid][pLider] == 24)
            {
                if(
PlayerInfo[playerid][pCargo] == 6) { format(stringsizeof(string), "** Aeronautica Lнder %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 5) { format(stringsizeof(string), "** Aeronautica %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 4) { format(stringsizeof(string), "** Aeronautica %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 3) { format(stringsizeof(string), "** Aeronautica %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 2) { format(stringsizeof(string), "** Aeronautica %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 1) { format(stringsizeof(string), "** Aeronautica %s: %s, cвmbio. **"sendernameresult); }
                else
                {
                    
format(stringsizeof(string), "** Aeronautica %s: %s, cвmbio. **"sendernameresult);
                }
                
SendFamilyMessage(2COLOR_DEPTHstring);
                
SendFamilyMessage(1COLOR_DEPTHstring);
                
SendFamilyMessage(3COLOR_DEPTHstring);
                
SendFamilyMessage(16COLOR_DEPTHstring);
                
SendFamilyMessage(7COLOR_DEPTHstring);
                
SendFamilyMessage(11COLOR_DEPTHstring);
                
SendFamilyMessage(4COLOR_DEPTHstring);
                
SendFamilyMessage(24COLOR_DEPTHstring);
                
printf("%s"string);
                return 
true;
            }
            else if(
PlayerInfo[playerid][pMembro] == || PlayerInfo[playerid][pLider] == 4)
            {
                if(
PlayerInfo[playerid][pCargo] == 6) { format(stringsizeof(string), "** SAMU Lнder %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 5) { format(stringsizeof(string), "** SAMU %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 4) { format(stringsizeof(string), "** SAMU %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 3) { format(stringsizeof(string), "** SAMU %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 2) { format(stringsizeof(string), "** SAMU %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 1) { format(stringsizeof(string), "** SAMU %s: %s, cвmbio. **"sendernameresult); }
                else
                {
                    
format(stringsizeof(string), "** SAMU %s: %s, cвmbio. **"sendernameresult);
                }
                
SendFamilyMessage(2COLOR_DEPTHstring);
                
SendFamilyMessage(1COLOR_DEPTHstring);
                
SendFamilyMessage(3COLOR_DEPTHstring);
                
SendFamilyMessage(16COLOR_DEPTHstring);
                
SendFamilyMessage(7COLOR_DEPTHstring);
                
SendFamilyMessage(11COLOR_DEPTHstring);
                
SendFamilyMessage(4COLOR_DEPTHstring);
                
SendFamilyMessage(24COLOR_DEPTHstring);
                
printf("%s"string);
                return 
true;
            }
            else
            {
                
SendClientMessage(playeridCOLOR_GRAD2"   Vocк nгo й um Policial/Mйdico!");
                return 
true;
            }
        }
        return 
true;
    } 
Reply


Messages In This Thread
Problemas em /r e /d - by lokos45 - 10.05.2013, 03:13
Re: Problemas em /r e /d - by Mteck - 10.05.2013, 03:28
Re: Problemas em /r e /d - by BreakDriFT - 10.05.2013, 03:29
Re: Problemas em /r e /d - by focaximubh - 10.05.2013, 03:53
Re: Problemas em /r e /d - by lokos45 - 10.05.2013, 23:12
Respuesta: Problemas em /r e /d - by Wendell - 10.05.2013, 23:39
Re: Respuesta: Problemas em /r e /d - by lokos45 - 11.05.2013, 00:00
Respuesta: Problemas em /r e /d - by Wendell - 11.05.2013, 00:15
Re: Respuesta: Problemas em /r e /d - by lokos45 - 11.05.2013, 01:16
Re: Respuesta: Problemas em /r e /d - by Gii - 11.05.2013, 02:38

Forum Jump:


Users browsing this thread: 1 Guest(s)