[Ajuda] Gz nгo Aparece
#9

Veja quais sгo "printados" no console e mostre aqui caso nгo cosiga resolver isso.
PHP код:
if(newkeys KEY_SECONDARY_ATTACK
{
    print(
"chamado");

    for(new 
0MAX_GZS++) 
    {
        
printf("index: %d"i);
        if(
IsPlayerInRangeOfPoint(playerid1.5GangZone[i][CheckCoords][0], GangZone[i][CheckCoords][playerid], GangZone[i][CheckCoords][2])) 
        {
            print(
"pickup");

            if(
GetPlayerVisibleDynamicCP(playerid) == ChecksDominio[i]) 
            {
                print(
"GetPlayerVisibleDynamicCP");
                if(
Player[playerid][pAdmin] >= || Player[playerid][pFrente] >= || Player[playerid][pBOPE] >= || Player[playerid][pPMRJ] >= || Player[playerid][pCORE] >= 4
                {
                    print(
"Verificaзгo de permissхes."); 

                    if(
ContagemDominio[i] != 0
                        return 
true
                    print(
"nгo sei que poura й essa.");

                    if((
strcmp(GZDono[i], "CMD"true) == 0) && Player[playerid][pFaccoes] == || (strcmp(GZDono[i], "CMD"true) == 0) && Player[playerid][pFaccoes] == || (strcmp(GZDono[i], "CMD"true) == 0) && Player[playerid][pFaccoes] == || 
                       (
strcmp(GZDono[i], "LLL"true) == 0) && Player[playerid][pFaccoes] == || (strcmp(GZDono[i], "LLL"true) == 0) && Player[playerid][pFaccoes] == || (strcmp(GZDono[i], "LLL"true) == 0) && Player[playerid][pFaccoes] == || 
                       (
strcmp(GZDono[i], "TD3"true) == 0) && Player[playerid][pFaccoes] == || (strcmp(GZDono[i], "TD3"true) == 0) && Player[playerid][pFaccoes] == || (strcmp(GZDono[i], "TD3"true) == 0) && Player[playerid][pFaccoes] == || 
                       (
strcmp(GZDono[i], "MLC"true) == 0) && Player[playerid][pFaccoes] == 10 || (strcmp(GZDono[i], "MLC"true) == 0) && Player[playerid][pFaccoes] == 11 || 
                       (
strcmp(GZDono[i], "PM"true) == 0) && Player[playerid][pCORE] >= || (strcmp(GZDono[i], "BOPE"true) == 0) && Player[playerid][pBOPE] >= || (strcmp(GZDono[i], "PMRJ"true) == 0) && Player[playerid][pPMRJ] >= 1
                    return 
SendClientMessage(playeridCOLOR_RED""TAG_ERRO" Estб favela jб й da sua facзгo!"); 
                    
                    print(
"Verificaзгo de facзгo.");

                    
ChecksDominio[i] = SetPlayerCheckpoint(playeridGangZone[i][CheckCoords][0], GangZone[i][CheckCoords][1], GangZone[i][CheckCoords][2], 4.0); 

                    
SetPVarInt(playerid"GZAtacada"i); 
                    
ContagemDominio[i] = SetTimerEx("Contagem"10001"i"playerid); 
                    
GangZoneFlashForAll(GangZonas[GetPVarInt(playerid"GZAtacada" )], GetPlayerColor(playerid)); 

                    
SendFormattedMessageToAll(COR_INFO"[NOTICIAS] %s estб dominando a favela '%s' da '%s'."getPName(playerid), GangZone[i][GZName], GZDono[GetPVarInt(playerid,"GZAtacada")]); 
                    return 
true
                } 
            }
            else 
SendClientMessage(playeridCOLOR_RED""TAG_ERRO" Vocк nгo tem permissгo para dominar!"); 
        }
    } 
    return 
true;

Reply


Messages In This Thread
Gz nгo Aparece - by BrGabrielBr - 22.05.2018, 01:12
Re: Gz nгo Aparece - by iSukrYlh0s - 22.05.2018, 02:06
Re: Gz nгo Aparece - by BrGabrielBr - 22.05.2018, 02:12
Re: Gz nгo Aparece - by iSukrYlh0s - 22.05.2018, 02:15
Re: Gz nгo Aparece - by CyNiC - 22.05.2018, 02:26
Re: Gz nгo Aparece - by BrGabrielBr - 22.05.2018, 02:53
Re: Gz nгo Aparece - by BrGabrielBr - 22.05.2018, 02:58
Re: Gz nгo Aparece - by BrGabrielBr - 22.05.2018, 22:27
Re: Gz nгo Aparece - by SammyJ - 22.05.2018, 23:30
Re: Gz nгo Aparece - by BrGabrielBr - 22.05.2018, 23:44

Forum Jump:


Users browsing this thread: 2 Guest(s)