[Ajuda] /Equipar bugado Por favor
#1

e o seguinte quando o player cop entra dentro do enforce fala que ele nao e 1 oficial mas somente para as orgs rota policia federal policia civil e gate bope e policia militar funciona normal

PHP код:
if(strcmp(cmd"/equipar"true) == 0)
    {
        if(
PlayerInfo[playerid][pJailed] != 0)
        {
               
SendClientMessage(playerid,COLOR_GREY," Vocк nгo pode equipar na cadeia!");
               return 
1;
        }
        if(
OnDuty[playerid] != 1)
        {
               
SendClientMessage(playeridCOLOR_GREY"   Vocк nгo Bateu o cartгo!");
               return 
1;
        }
        if (
IsACop(playerid))
         {
             new 
tmpcar GetPlayerVehicleID(playerid);
             
GetPlayerName(playeridsendernameMAX_PLAYER_NAME);
            if(
IsAEnforcerCar(tmpcar)||PlayerToPoint(2playerid,255.3,77.4,1003.6) || PlayerToPoint(2,playerid,-1616.1294,681.1594,7.1875)
            || 
PlayerToPoint(2,playerid,230.1107,165.2237,1003.0234) || PlayerToPoint(2playerid,240.7396,112.9709,1003.2188) || PlayerToPoint(2playerid,1530.5187,-1702.5320,6.2252)
            || 
PlayerToPoint(2playerid,302.7606,-1529.7537,24.9219) || PlayerToPoint(2playerid,-1345.8823,492.5301,11.2027)|| PlayerToPoint(2playerid,326.2920,306.9357,999.1484)
            || 
PlayerToPoint(2playerid,1709.7542,-1642.8513,20.2188)|| PlayerToPoint(2playerid,962.1068,-2535.4353,28.7781) || HouseEntered[playerid] != 255)
            {
                
ResetPlayerWeaponsEx(playerid);
                
SetPlayerArmour(playerid100.0);
                
SetPlayerHealth(playerid100.0);
                if (
PlayerInfo[playerid][pLider] == 1)
                {
                       
format(stringsizeof(string), "[Policia Militar] %s pega seus equipamentos de lнder."sendername);
                    
ProxDetector(30.0playeridstringCOLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                    
GivePlayerWeapon(playerid11);
                    
GivePlayerWeapon(playerid1710);
                    
GivePlayerWeapon(playerid164);
                    
GivePlayerWeapon(playerid3410);
                    
GivePlayerWeapon(playerid3140);
                    
GivePlayerWeapon(playerid2930);
                    
GivePlayerWeapon(playerid2520);
                    
GivePlayerWeapon(playerid2413);
                    
GivePlayerWeapon(playerid41400);
                    
GivePlayerWeapon(playerid31);
                    return 
1;
                }
                if(
PlayerInfo[playerid][pLider] == 2)
                {
                    
format(stringsizeof(string), "[Bope] %s pega seus equipamentos de lнder."sendername);
                    
ProxDetector(30.0playeridstringCOLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                    
GivePlayerWeapon(playerid11);
                    
GivePlayerWeapon(playerid1710);
                    
GivePlayerWeapon(playerid164);
                    
GivePlayerWeapon(playerid3410);
                    
GivePlayerWeapon(playerid3140);
                    
GivePlayerWeapon(playerid2930);
                    
GivePlayerWeapon(playerid2520);
                    
GivePlayerWeapon(playerid2413);
                    
GivePlayerWeapon(playerid41400);
                    
GivePlayerWeapon(playerid31);
                    return 
1;
                }
                if (
PlayerInfo[playerid][pLider] == 16)
                {
                    
format(stringsizeof(string), "[Policia Civil] %s pega seus equipamentos de lнder."sendername);
                    
ProxDetector(30.0playeridstringCOLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                    
GivePlayerWeapon(playerid11);
                    
GivePlayerWeapon(playerid1710);
                    
GivePlayerWeapon(playerid164);
                    
GivePlayerWeapon(playerid3410);
                    
GivePlayerWeapon(playerid3140);
                    
GivePlayerWeapon(playerid2930);
                    
GivePlayerWeapon(playerid2520);
                    
GivePlayerWeapon(playerid2413);
                    
GivePlayerWeapon(playerid41400);
                    
GivePlayerWeapon(playerid31);
                    return 
1;
                }
                if(
PlayerInfo[playerid][pLider] == 11)
                {
                    
format(stringsizeof(string), "[Policia Federal] %s pega seus equipamentos de lнder."sendername);
                    
ProxDetector(30.0playeridstringCOLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                    
GivePlayerWeapon(playerid11);
                    
GivePlayerWeapon(playerid1710);
                    
GivePlayerWeapon(playerid164);
                    
GivePlayerWeapon(playerid3410);
                    
GivePlayerWeapon(playerid3140);
                    
GivePlayerWeapon(playerid2930);
                    
GivePlayerWeapon(playerid2520);
                    
GivePlayerWeapon(playerid2413);
                    
GivePlayerWeapon(playerid41400);
                    
GivePlayerWeapon(playerid31);
                    return 
1;
                }
                if(
PlayerInfo[playerid][pLider] == 23)
                {
                    
format(stringsizeof(string), "[Rota] %s pega seus equipamentos de lнder."sendername);
                    
ProxDetector(30.0playeridstringCOLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                    
GivePlayerWeapon(playerid11);
                    
GivePlayerWeapon(playerid1710);
                    
GivePlayerWeapon(playerid164);
                    
GivePlayerWeapon(playerid3410);
                    
GivePlayerWeapon(playerid3140);
                    
GivePlayerWeapon(playerid2930);
                    
GivePlayerWeapon(playerid2520);
                    
GivePlayerWeapon(playerid2413);
                    
GivePlayerWeapon(playerid41400);
                    
GivePlayerWeapon(playerid31);
                    return 
1;
                }
                if(
PlayerInfo[playerid][pLider] == 3)
                {
                    
format(stringsizeof(string), "[Exercito] %s pega seus equipamentos de lнder."sendername);
                    
ProxDetector(30.0playeridstringCOLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                    
GivePlayerWeapon(playerid11);
                    
GivePlayerWeapon(playerid1710);
                    
GivePlayerWeapon(playerid164);
                    
GivePlayerWeapon(playerid3410);
                    
GivePlayerWeapon(playerid3140);
                    
GivePlayerWeapon(playerid2930);
                    
GivePlayerWeapon(playerid2520);
                    
GivePlayerWeapon(playerid2413);
                    
GivePlayerWeapon(playerid41400);
                    
GivePlayerWeapon(playerid31);
                    return 
1;
                }
                 if(
PlayerInfo[playerid][pMembro] == 3)//Exйrcito
                   
{
                    if (
PlayerInfo[playerid][pCargo] == 1)
                    {
                        
format(stringsizeof(string), "[Exйrcito] %s pega seus equipamentos cargo 1."sendername);
                        
ProxDetector(30.0playeridstringCOLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                        
GivePlayerWeapon(playerid11);
                        
GivePlayerWeapon(playerid1710);
                        
GivePlayerWeapon(playerid164);
                        
GivePlayerWeapon(playerid3410);
                        
GivePlayerWeapon(playerid3140);
                        
GivePlayerWeapon(playerid2930);
                        
GivePlayerWeapon(playerid2520);
                        
GivePlayerWeapon(playerid2413);
                        
GivePlayerWeapon(playerid41400);
                        
GivePlayerWeapon(playerid31);
                        return 
1;
                    }
                    if (
PlayerInfo[playerid][pCargo] == 2)
                    {
                           
format(stringsizeof(string), "[Exйrcito] %s pega seus equipamentos cargo 2."sendername);
                        
ProxDetector(30.0playeridstringCOLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                        
GivePlayerWeapon(playerid11);
                        
GivePlayerWeapon(playerid1720);
                        
GivePlayerWeapon(playerid164);
                        
GivePlayerWeapon(playerid3420);
                        
GivePlayerWeapon(playerid3120);
                        
GivePlayerWeapon(playerid2950);
                        
GivePlayerWeapon(playerid2530);
                        
GivePlayerWeapon(playerid2420);
                        
GivePlayerWeapon(playerid41400);
                        
GivePlayerWeapon(playerid31);
                        return 
1;
                    }
                     if (
PlayerInfo[playerid][pCargo] == 3)
                    {
                        
format(stringsizeof(string), "[Exйrcito] %s pega seus equipamentos cargo 3."sendername);
                        
ProxDetector(30.0playeridstringCOLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                        
GivePlayerWeapon(playerid11);
                        
GivePlayerWeapon(playerid1730);
                        
GivePlayerWeapon(playerid164);
                        
GivePlayerWeapon(playerid3430);
                        
GivePlayerWeapon(playerid3160);
                        
GivePlayerWeapon(playerid2930);
                        
GivePlayerWeapon(playerid2530);
                        
GivePlayerWeapon(playerid2430);
                        
GivePlayerWeapon(playerid41400);
                        
GivePlayerWeapon(playerid31);
                        return 
1;
                    }
                      if (
PlayerInfo[playerid][pCargo] == 4)
                    {
                        
format(stringsizeof(string), "[Exйrcito] %s pega seus equipamentos cargo 4."sendername);
                        
ProxDetector(30.0playeridstringCOLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                        
GivePlayerWeapon(playerid11);
                        
GivePlayerWeapon(playerid1740);
                        
GivePlayerWeapon(playerid164);
                        
GivePlayerWeapon(playerid3440);
                        
GivePlayerWeapon(playerid3170);
                        
GivePlayerWeapon(playerid2940);
                        
GivePlayerWeapon(playerid2540);
                        
GivePlayerWeapon(playerid2413);
                        
GivePlayerWeapon(playerid41400);
                        
GivePlayerWeapon(playerid31);
                        return 
1;
                    }
                     if (
PlayerInfo[playerid][pCargo] == 5)
                    {
                        
format(stringsizeof(string), "[Exйrcito] %s pega seus equipamentos cargo Sub-Lнder."sendername);
                        
ProxDetector(30.0playeridstringCOLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                        
GivePlayerWeapon(playerid11);
                        
GivePlayerWeapon(playerid1750);
                        
GivePlayerWeapon(playerid164);
                        
GivePlayerWeapon(playerid3450);
                        
GivePlayerWeapon(playerid3190);
                        
GivePlayerWeapon(playerid2950);
                        
GivePlayerWeapon(playerid2550);
                        
GivePlayerWeapon(playerid2440);
                        
GivePlayerWeapon(playerid41400);
                        
GivePlayerWeapon(playerid31);
                        return 
1;
                    }
                    
                }
                if(
PlayerInfo[playerid][pLider] == 25)
                {
                    
format(stringsizeof(string), "[GATE] %s pega seus equipamentos de lнder."sendername);
                    
ProxDetector(30.0playeridstringCOLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                        
GivePlayerWeapon(playerid11);
                        
GivePlayerWeapon(playerid1710);
                        
GivePlayerWeapon(playerid164);
                        
GivePlayerWeapon(playerid3410);
                        
GivePlayerWeapon(playerid3140);
                        
GivePlayerWeapon(playerid2930);
                        
GivePlayerWeapon(playerid2520);
                        
GivePlayerWeapon(playerid2413);
                        
GivePlayerWeapon(playerid41400);
                        
GivePlayerWeapon(playerid31);
                    return 
1;
                }
                   if (
PlayerInfo[playerid][pMembro] == 25// GATE
                  
{
                    if (
PlayerInfo[playerid][pCargo] == 1)
                    {
                        
format(stringsizeof(string), "[GATE] %s pega seus equipamentos cargo 1."sendername);
                        
ProxDetector(30.0playeridstringCOLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                        
GivePlayerWeapon(playerid11);
                        
GivePlayerWeapon(playerid1710);
                        
GivePlayerWeapon(playerid164);
                        
GivePlayerWeapon(playerid3410);
                        
GivePlayerWeapon(playerid3140);
                        
GivePlayerWeapon(playerid2930);
                        
GivePlayerWeapon(playerid2520);
                        
GivePlayerWeapon(playerid2413);
                        
GivePlayerWeapon(playerid41400);
                        
GivePlayerWeapon(playerid31);
                        return 
1;
                    }
                    if (
PlayerInfo[playerid][pCargo] == 2)
                    {
                           
format(stringsizeof(string), "[GATE] %s pega seus equipamentos cargo 2."sendername);
                        
ProxDetector(30.0playeridstringCOLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                        
GivePlayerWeapon(playerid11);
                        
GivePlayerWeapon(playerid1720);
                        
GivePlayerWeapon(playerid164);
                        
GivePlayerWeapon(playerid3420);
                        
GivePlayerWeapon(playerid3120);
                        
GivePlayerWeapon(playerid2950);
                        
GivePlayerWeapon(playerid2530);
                        
GivePlayerWeapon(playerid2420);
                        
GivePlayerWeapon(playerid41400);
                        
GivePlayerWeapon(playerid31);
                        return 
1;
                    }
                     if (
PlayerInfo[playerid][pCargo] == 3)
                    {
                        
format(stringsizeof(string), "[GATE] %s pega seus equipamentos cargo 3."sendername);
                        
ProxDetector(30.0playeridstringCOLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                        
GivePlayerWeapon(playerid11);
                        
GivePlayerWeapon(playerid1730);
                        
GivePlayerWeapon(playerid164);
                        
GivePlayerWeapon(playerid3430);
                        
GivePlayerWeapon(playerid3160);
                        
GivePlayerWeapon(playerid2930);
                        
GivePlayerWeapon(playerid2530);
                        
GivePlayerWeapon(playerid2430);
                        
GivePlayerWeapon(playerid41400);
                        
GivePlayerWeapon(playerid31);
                        return 
1;
                    }
                      if (
PlayerInfo[playerid][pCargo] == 4)
                    {
                        
format(stringsizeof(string), "[GATE] %s pega seus equipamentos cargo 4."sendername);
                        
ProxDetector(30.0playeridstringCOLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                        
GivePlayerWeapon(playerid11);
                        
GivePlayerWeapon(playerid1740);
                        
GivePlayerWeapon(playerid164);
                        
GivePlayerWeapon(playerid3440);
                        
GivePlayerWeapon(playerid3170);
                        
GivePlayerWeapon(playerid2940);
                        
GivePlayerWeapon(playerid2540);
                        
GivePlayerWeapon(playerid2413);
                        
GivePlayerWeapon(playerid41400);
                        
GivePlayerWeapon(playerid31);
                        return 
1;
                    }
                     if (
PlayerInfo[playerid][pCargo] == 5)
                    {
                        
format(stringsizeof(string), "[GATE] %s pega seus equipamentos cargo Sub-Lнder."sendername);
                        
ProxDetector(30.0playeridstringCOLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                        
GivePlayerWeapon(playerid11);
                        
GivePlayerWeapon(playerid1750);
                        
GivePlayerWeapon(playerid164);
                        
GivePlayerWeapon(playerid3450);
                        
GivePlayerWeapon(playerid3190);
                        
GivePlayerWeapon(playerid2950);
                        
GivePlayerWeapon(playerid2550);
                        
GivePlayerWeapon(playerid2440);
                        
GivePlayerWeapon(playerid41400);
                        
GivePlayerWeapon(playerid31);
                        return 
1;
                    }
                }
                 if (
PlayerInfo[playerid][pMembro] == 1// Policia Militar
                  
{
                    if (
PlayerInfo[playerid][pCargo] == 1)
                    {
                        
format(stringsizeof(string), "[Policia Militar] %s pega seus equipamentos cargo 1."sendername);
                        
ProxDetector(30.0playeridstringCOLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                        
GivePlayerWeapon(playerid11);
                        
GivePlayerWeapon(playerid1710);
                        
GivePlayerWeapon(playerid164);
                        
GivePlayerWeapon(playerid3410);
                        
GivePlayerWeapon(playerid3140);
                        
GivePlayerWeapon(playerid2930);
                        
GivePlayerWeapon(playerid2520);
                        
GivePlayerWeapon(playerid2413);
                        
GivePlayerWeapon(playerid41400);
                        
GivePlayerWeapon(playerid31);
                        return 
1;
                    }
                    if (
PlayerInfo[playerid][pCargo] == 2)
                    {
                           
format(stringsizeof(string), "[Policia Militar] %s pega seus equipamentos cargo 2."sendername);
                        
ProxDetector(30.0playeridstringCOLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                        
GivePlayerWeapon(playerid11);
                        
GivePlayerWeapon(playerid1720);
                        
GivePlayerWeapon(playerid164);
                        
GivePlayerWeapon(playerid3420);
                        
GivePlayerWeapon(playerid3120);
                        
GivePlayerWeapon(playerid2950);
                        
GivePlayerWeapon(playerid2530);
                        
GivePlayerWeapon(playerid2420);
                        
GivePlayerWeapon(playerid41400);
                        
GivePlayerWeapon(playerid31);
                        return 
1;
                    }
                     if (
PlayerInfo[playerid][pCargo] == 3)
                    {
                        
format(stringsizeof(string), "[Policia Militar] %s pega seus equipamentos cargo 3."sendername);
                        
ProxDetector(30.0playeridstringCOLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                        
GivePlayerWeapon(playerid11);
                        
GivePlayerWeapon(playerid1730);
                        
GivePlayerWeapon(playerid164);
                        
GivePlayerWeapon(playerid3430);
                        
GivePlayerWeapon(playerid3160);
                        
GivePlayerWeapon(playerid2930);
                        
GivePlayerWeapon(playerid2530);
                        
GivePlayerWeapon(playerid2430);
                        
GivePlayerWeapon(playerid41400);
                        
GivePlayerWeapon(playerid31);
                        return 
1;
                    }
                      if (
PlayerInfo[playerid][pCargo] == 4)
                    {
                        
format(stringsizeof(string), "[Policia Militar] %s pega seus equipamentos cargo 4."sendername);
                        
ProxDetector(30.0playeridstringCOLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                        
GivePlayerWeapon(playerid11);
                        
GivePlayerWeapon(playerid1740);
                        
GivePlayerWeapon(playerid164);
                        
GivePlayerWeapon(playerid3440);
                        
GivePlayerWeapon(playerid3170);
                        
GivePlayerWeapon(playerid2940);
                        
GivePlayerWeapon(playerid2540);
                        
GivePlayerWeapon(playerid2413);
                        
GivePlayerWeapon(playerid41400);
                        
GivePlayerWeapon(playerid31);
                        return 
1;
                    }
                     if (
PlayerInfo[playerid][pCargo] == 5)
                    {
                        
format(stringsizeof(string), "[Policia Militar] %s pega seus equipamentos cargo Sub-Lнder."sendername);
                        
ProxDetector(30.0playeridstringCOLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                        
GivePlayerWeapon(playerid11);
                        
GivePlayerWeapon(playerid1750);
                        
GivePlayerWeapon(playerid164);
                        
GivePlayerWeapon(playerid3450);
                        
GivePlayerWeapon(playerid3190);
                        
GivePlayerWeapon(playerid2950);
                        
GivePlayerWeapon(playerid2550);
                        
GivePlayerWeapon(playerid2440);
                        
GivePlayerWeapon(playerid41400);
                        
GivePlayerWeapon(playerid31);
                        return 
1;
                    }
                }
                if(
PlayerInfo[playerid][pMembro] == 2)//B.O.P.E
                
{
                    if (
PlayerInfo[playerid][pCargo] == 1)
                    {
                        
format(stringsizeof(string), "[B.O.P.E] %s pega seus equipamentos cargo 1."sendername);
                        
ProxDetector(30.0playeridstringCOLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                        
GivePlayerWeapon(playerid11);
                        
GivePlayerWeapon(playerid1710);
                        
GivePlayerWeapon(playerid164);
                        
GivePlayerWeapon(playerid3410);
                        
GivePlayerWeapon(playerid3140);
                        
GivePlayerWeapon(playerid2930);
                        
GivePlayerWeapon(playerid2520);
                        
GivePlayerWeapon(playerid2413);
                        
GivePlayerWeapon(playerid41400);
                        
GivePlayerWeapon(playerid31);
                        return 
1;
                    }
                    if (
PlayerInfo[playerid][pCargo] == 2)
                    {
                           
format(stringsizeof(string), "[B.O.P.E] %s pega seus equipamentos cargo 2."sendername);
                        
ProxDetector(30.0playeridstringCOLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                        
GivePlayerWeapon(playerid11);
                        
GivePlayerWeapon(playerid1720);
                        
GivePlayerWeapon(playerid164);
                        
GivePlayerWeapon(playerid3420);
                        
GivePlayerWeapon(playerid3120);
                        
GivePlayerWeapon(playerid2950);
                        
GivePlayerWeapon(playerid2530);
                        
GivePlayerWeapon(playerid2420);
                        
GivePlayerWeapon(playerid41400);
                        
GivePlayerWeapon(playerid31);
                        return 
1;
                    }
                     if (
PlayerInfo[playerid][pCargo] == 3)
                    {
                        
format(stringsizeof(string), "[B.O.P.E] %s pega seus equipamentos cargo 3."sendername);
                        
ProxDetector(30.0playeridstringCOLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                        
GivePlayerWeapon(playerid11);
                        
GivePlayerWeapon(playerid1730);
                        
GivePlayerWeapon(playerid164);
                        
GivePlayerWeapon(playerid3430);
                        
GivePlayerWeapon(playerid3160);
                        
GivePlayerWeapon(playerid2930);
                        
GivePlayerWeapon(playerid2530);
                        
GivePlayerWeapon(playerid2430);
                        
GivePlayerWeapon(playerid41400);
                        
GivePlayerWeapon(playerid31);
                        return 
1;
                    }
                      if (
PlayerInfo[playerid][pCargo] == 4)
                    {
                        
format(stringsizeof(string), "[B.O.P.E] %s pega seus equipamentos cargo 4."sendername);
                        
ProxDetector(30.0playeridstringCOLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                        
GivePlayerWeapon(playerid11);
                        
GivePlayerWeapon(playerid1740);
                        
GivePlayerWeapon(playerid164);
                        
GivePlayerWeapon(playerid3440);
                        
GivePlayerWeapon(playerid3170);
                        
GivePlayerWeapon(playerid2940);
                        
GivePlayerWeapon(playerid2540);
                        
GivePlayerWeapon(playerid2413);
                        
GivePlayerWeapon(playerid41400);
                        
GivePlayerWeapon(playerid31);
                        return 
1;
                    }
                     if (
PlayerInfo[playerid][pCargo] == 5)
                    {
                        
format(stringsizeof(string), "[B.O.P.E] %s pega seus equipamentos cargo Sub-Lнder."sendername);
                        
ProxDetector(30.0playeridstringCOLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                        
GivePlayerWeapon(playerid11);
                        
GivePlayerWeapon(playerid1750);
                        
GivePlayerWeapon(playerid164);
                        
GivePlayerWeapon(playerid3450);
                        
GivePlayerWeapon(playerid3190);
                        
GivePlayerWeapon(playerid2950);
                        
GivePlayerWeapon(playerid2550);
                        
GivePlayerWeapon(playerid2440);
                        
GivePlayerWeapon(playerid41400);
                        
GivePlayerWeapon(playerid31);
                        return 
1;
                    }
                }
                   if(
PlayerInfo[playerid][pMembro] == 11)//PF
                
{
                    if (
PlayerInfo[playerid][pCargo] == 1)
                    {
                        
format(stringsizeof(string), "[Polнcia Federal] %s pega seus equipamentos cargo 1."sendername);
                        
ProxDetector(30.0playeridstringCOLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                        
GivePlayerWeapon(playerid11);
                        
GivePlayerWeapon(playerid1710);
                        
GivePlayerWeapon(playerid164);
                        
GivePlayerWeapon(playerid3410);
                        
GivePlayerWeapon(playerid3140);
                        
GivePlayerWeapon(playerid2930);
                        
GivePlayerWeapon(playerid2520);
                        
GivePlayerWeapon(playerid2413);
                        
GivePlayerWeapon(playerid41400);
                        
GivePlayerWeapon(playerid31);
                        return 
1;
                    }
                    if (
PlayerInfo[playerid][pCargo] == 2)
                    {
                           
format(stringsizeof(string), "[Polнcia Federal] %s pega seus equipamentos cargo 2."sendername);
                        
ProxDetector(30.0playeridstringCOLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                        
GivePlayerWeapon(playerid11);
                        
GivePlayerWeapon(playerid1720);
                        
GivePlayerWeapon(playerid164);
                        
GivePlayerWeapon(playerid3420);
                        
GivePlayerWeapon(playerid3120);
                        
GivePlayerWeapon(playerid2950);
                        
GivePlayerWeapon(playerid2530);
                        
GivePlayerWeapon(playerid2420);
                        
GivePlayerWeapon(playerid41400);
                        
GivePlayerWeapon(playerid31);
                        return 
1;
                    }
                     if (
PlayerInfo[playerid][pCargo] == 3)
                    {
                        
format(stringsizeof(string), "[Polнcia Federal] %s pega seus equipamentos cargo 3."sendername);
                        
ProxDetector(30.0playeridstringCOLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                        
GivePlayerWeapon(playerid11);
                        
GivePlayerWeapon(playerid1730);
                        
GivePlayerWeapon(playerid164);
                        
GivePlayerWeapon(playerid3430);
                        
GivePlayerWeapon(playerid3160);
                        
GivePlayerWeapon(playerid2930);
                        
GivePlayerWeapon(playerid2530);
                        
GivePlayerWeapon(playerid2430);
                        
GivePlayerWeapon(playerid41400);
                        
GivePlayerWeapon(playerid31);
                        return 
1;
                    }
                      if (
PlayerInfo[playerid][pCargo] == 4)
                    {
                        
format(stringsizeof(string), "[Polнcia Federal] %s pega seus equipamentos cargo 4."sendername);
                        
ProxDetector(30.0playeridstringCOLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                        
GivePlayerWeapon(playerid11);
                        
GivePlayerWeapon(playerid1740);
                        
GivePlayerWeapon(playerid164);
                        
GivePlayerWeapon(playerid3440);
                        
GivePlayerWeapon(playerid3170);
                        
GivePlayerWeapon(playerid2940);
                        
GivePlayerWeapon(playerid2540);
                        
GivePlayerWeapon(playerid2413);
                        
GivePlayerWeapon(playerid41400);
                        
GivePlayerWeapon(playerid31);
                        return 
1;
                    }
                     if (
PlayerInfo[playerid][pCargo] == 5)
                    {
                        
format(stringsizeof(string), "[Polнcia Federal] %s pega seus equipamentos cargo Sub-Lнder."sendername);
                        
ProxDetector(30.0playeridstringCOLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                        
GivePlayerWeapon(playerid11);
                        
GivePlayerWeapon(playerid1750);
                        
GivePlayerWeapon(playerid164);
                        
GivePlayerWeapon(playerid3450);
                        
GivePlayerWeapon(playerid3190);
                        
GivePlayerWeapon(playerid2950);
                        
GivePlayerWeapon(playerid2550);
                        
GivePlayerWeapon(playerid2440);
                        
GivePlayerWeapon(playerid41400);
                        
GivePlayerWeapon(playerid31);
                        return 
1;
                    }
                   }
                if(
PlayerInfo[playerid][pMembro] == 16)// Policia Civil
                
{
                        if (
PlayerInfo[playerid][pCargo] == 1)
                        {
                        
format(stringsizeof(string), "[Policia Civil] %s pega seus equipamentos cargo 1."sendername);
                        
ProxDetector(30.0playeridstringCOLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                        
GivePlayerWeapon(playerid11);
                        
GivePlayerWeapon(playerid1710);
                        
GivePlayerWeapon(playerid164);
                        
GivePlayerWeapon(playerid3410);
                        
GivePlayerWeapon(playerid3140);
                        
GivePlayerWeapon(playerid2930);
                        
GivePlayerWeapon(playerid2520);
                        
GivePlayerWeapon(playerid2413);
                        
GivePlayerWeapon(playerid41400);
                        
GivePlayerWeapon(playerid31);
                        return 
1;
                    }
                    if (
PlayerInfo[playerid][pCargo] == 2)
                    {
                           
format(stringsizeof(string), "[Policia Civil] %s pega seus equipamentos cargo 2."sendername);
                        
ProxDetector(30.0playeridstringCOLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                        
GivePlayerWeapon(playerid11);
                        
GivePlayerWeapon(playerid1720);
                        
GivePlayerWeapon(playerid164);
                        
GivePlayerWeapon(playerid3420);
                        
GivePlayerWeapon(playerid3120);
                        
GivePlayerWeapon(playerid2950);
                        
GivePlayerWeapon(playerid2530);
                        
GivePlayerWeapon(playerid2420);
                        
GivePlayerWeapon(playerid41400);
                        
GivePlayerWeapon(playerid31);
                        return 
1;
                    }
                     if (
PlayerInfo[playerid][pCargo] == 3)
                    {
                        
format(stringsizeof(string), "[Policia Civil] %s pega seus equipamentos cargo 3."sendername);
                        
ProxDetector(30.0playeridstringCOLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                        
GivePlayerWeapon(playerid11);
                        
GivePlayerWeapon(playerid1730);
                        
GivePlayerWeapon(playerid164);
                        
GivePlayerWeapon(playerid3430);
                        
GivePlayerWeapon(playerid3160);
                        
GivePlayerWeapon(playerid2930);
                        
GivePlayerWeapon(playerid2530);
                        
GivePlayerWeapon(playerid2430);
                        
GivePlayerWeapon(playerid41400);
                        
GivePlayerWeapon(playerid31);
                        return 
1;
                    }
                      if (
PlayerInfo[playerid][pCargo] == 4)
                    {
                        
format(stringsizeof(string), "[Policia Civil] %s pega seus equipamentos cargo 4."sendername);
                        
ProxDetector(30.0playeridstringCOLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                        
GivePlayerWeapon(playerid11);
                        
GivePlayerWeapon(playerid1740);
                        
GivePlayerWeapon(playerid164);
                        
GivePlayerWeapon(playerid3440);
                        
GivePlayerWeapon(playerid3170);
                        
GivePlayerWeapon(playerid2940);
                        
GivePlayerWeapon(playerid2540);
                        
GivePlayerWeapon(playerid2413);
                        
GivePlayerWeapon(playerid41400);
                        
GivePlayerWeapon(playerid31);
                        return 
1;
                    }
                     if (
PlayerInfo[playerid][pCargo] == 5)
                    {
                        
format(stringsizeof(string), "[Policia Civil] %s pega seus equipamentos cargo Sub-Lнder."sendername);
                        
ProxDetector(30.0playeridstringCOLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                        
GivePlayerWeapon(playerid11);
                        
GivePlayerWeapon(playerid1750);
                        
GivePlayerWeapon(playerid164);
                        
GivePlayerWeapon(playerid3450);
                        
GivePlayerWeapon(playerid3190);
                        
GivePlayerWeapon(playerid2950);
                        
GivePlayerWeapon(playerid2550);
                        
GivePlayerWeapon(playerid2440);
                        
GivePlayerWeapon(playerid41400);
                        
GivePlayerWeapon(playerid31);
                        return 
1;
                    }
                }
                if(
PlayerInfo[playerid][pMembro] == 23)// Rota
                
{
                    if (
PlayerInfo[playerid][pCargo] == 1)
                    {
                        
format(stringsizeof(string), "[Rota] %s pega seus equipamentos cargo 1."sendername);
                        
ProxDetector(30.0playeridstringCOLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                        
GivePlayerWeapon(playerid11);
                        
GivePlayerWeapon(playerid1710);
                        
GivePlayerWeapon(playerid164);
                        
GivePlayerWeapon(playerid3410);
                        
GivePlayerWeapon(playerid3140);
                        
GivePlayerWeapon(playerid2930);
                        
GivePlayerWeapon(playerid2520);
                        
GivePlayerWeapon(playerid2413);
                        
GivePlayerWeapon(playerid41400);
                        
GivePlayerWeapon(playerid31);
                        return 
1;
                    }
                    if (
PlayerInfo[playerid][pCargo] == 2)
                    {
                           
format(stringsizeof(string), "[Rota] %s pega seus equipamentos cargo 2."sendername);
                        
ProxDetector(30.0playeridstringCOLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                        
GivePlayerWeapon(playerid11);
                        
GivePlayerWeapon(playerid1720);
                        
GivePlayerWeapon(playerid164);
                        
GivePlayerWeapon(playerid3420);
                        
GivePlayerWeapon(playerid3120);
                        
GivePlayerWeapon(playerid2950);
                        
GivePlayerWeapon(playerid2530);
                        
GivePlayerWeapon(playerid2420);
                        
GivePlayerWeapon(playerid41400);
                        
GivePlayerWeapon(playerid31);
                        return 
1;
                    }
                     if (
PlayerInfo[playerid][pCargo] == 3)
                    {
                        
format(stringsizeof(string), "[Rota] %s pega seus equipamentos cargo 3."sendername);
                        
ProxDetector(30.0playeridstringCOLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                        
GivePlayerWeapon(playerid11);
                        
GivePlayerWeapon(playerid1730);
                        
GivePlayerWeapon(playerid164);
                        
GivePlayerWeapon(playerid3430);
                        
GivePlayerWeapon(playerid3160);
                        
GivePlayerWeapon(playerid2930);
                        
GivePlayerWeapon(playerid2530);
                        
GivePlayerWeapon(playerid2430);
                        
GivePlayerWeapon(playerid41400);
                        
GivePlayerWeapon(playerid31);
                        return 
1;
                    }
                      if (
PlayerInfo[playerid][pCargo] == 4)
                    {
                        
format(stringsizeof(string), "[Rota] %s pega seus equipamentos cargo 4."sendername);
                        
ProxDetector(30.0playeridstringCOLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                        
GivePlayerWeapon(playerid11);
                        
GivePlayerWeapon(playerid1740);
                        
GivePlayerWeapon(playerid164);
                        
GivePlayerWeapon(playerid3440);
                        
GivePlayerWeapon(playerid3170);
                        
GivePlayerWeapon(playerid2940);
                        
GivePlayerWeapon(playerid2540);
                        
GivePlayerWeapon(playerid2413);
                        
GivePlayerWeapon(playerid41400);
                        
GivePlayerWeapon(playerid31);
                        return 
1;
                    }
                     if (
PlayerInfo[playerid][pCargo] == 5)
                    {
                        
format(stringsizeof(string), "[Rota] %s pega seus equipamentos cargo Sub-Lнder."sendername);
                        
ProxDetector(30.0playeridstringCOLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                        
GivePlayerWeapon(playerid11);
                        
GivePlayerWeapon(playerid1750);
                        
GivePlayerWeapon(playerid164);
                        
GivePlayerWeapon(playerid3450);
                        
GivePlayerWeapon(playerid3190);
                        
GivePlayerWeapon(playerid2950);
                        
GivePlayerWeapon(playerid2550);
                        
GivePlayerWeapon(playerid2440);
                        
GivePlayerWeapon(playerid41400);
                        
GivePlayerWeapon(playerid31);
                        return 
1;
                    }
                }
            }
        }
        if (
IsACop(playerid))
        {
            
SendClientMessage(playeridCOLOR_LIGHTRED"Vocк nгo й um Oficial.");
            return 
1;
        }
        else
        {
            
SendClientMessage(playeridCOLOR_LIGHTRED"Vocк nгo estб na HQ ou No Enforcer!");
        }
    } 
ja tentei arrumar de disversas formas e nao consegui
se alguem puder me ajudar por favor eu agradeco desde ja
Reply


Messages In This Thread
/Equipar bugado Por favor - by 12utra - 24.06.2014, 04:13
Re: Ajuda /Equipar bugado Por favor - by rm0203 - 24.06.2014, 04:46
Re: Ajuda /Equipar bugado Por favor - by 12utra - 24.06.2014, 14:45
Re: Ajuda /Equipar bugado Por favor - by 12utra - 24.06.2014, 14:47
Re: Ajuda /Equipar bugado Por favor - by rm0203 - 24.06.2014, 19:14
Re: Ajuda /Equipar bugado Por favor - by 12utra - 24.06.2014, 19:50
Re: Ajuda /Equipar bugado Por favor - by rm0203 - 24.06.2014, 20:15
Re: /Equipar bugado Por favor - by 12utra - 24.06.2014, 23:00
Re: /Equipar bugado Por favor - by rm0203 - 24.06.2014, 23:24
Re: /Equipar bugado Por favor - by 12utra - 25.06.2014, 00:05

Forum Jump:


Users browsing this thread: 2 Guest(s)