[AJUDA] GZ's Dominбveis
#2

Acho que entendi..
pawn Код:
public ZoneCheckpoint()
{
    for(new i; i < MAX_PLAYERS; i++)
    {
        if(!IsPlayerConnected(i))continue;
        if(CPS_GetPlayerCheckpoint(i) > 0 && CPS_GetPlayerCheckpoint(i) <= 2 &&
            gzcolor[CPS_GetPlayerCheckpoint(i)-1] != GetPlayerColor(i))
            {
            if(cpzone[i][CPS_GetPlayerCheckpoint(i)] < 15)
            {
                cpzone[i][CPS_GetPlayerCheckpoint(i)]++;
                new tmp[10];
                format(tmp, sizeof tmp, "~w~%2d/15", cpzone[i][CPS_GetPlayerCheckpoint(i)]);
                GameTextForPlayer(i, tmp, 1001, 4);
                GangZoneFlashForAll(CPS_GetPlayerCheckpoint(i)-1, GetPlayerColor(i));
            } else if(cpzone[i][CPS_GetPlayerCheckpoint(i)] == 15) //passou 15 segundos dentro do checkpoint
            {
                GameTextForPlayer(i, "       ~w~Conquistado", 4000, 1);
                GameTextForPlayer(i, "        ~g~Conquistado", 4000, 1);
                gzcolor[CPS_GetPlayerCheckpoint(i)-1] = GetPlayerColor(i);
                GangZoneStopFlashForAll(CPS_GetPlayerCheckpoint(i)-1);
                GangZoneHideForAll(CPS_GetPlayerCheckpoint(i)-1);
                GangZoneShowForAll(CPS_GetPlayerCheckpoint(i)-1, GetPlayerColor(i));
            }
        }
    }
}
Pc do colegio...
se errei sorry'
Reply


Messages In This Thread
[AJUDA] GZ's Dominбveis - by Skun Fly - 28.03.2012, 11:38
Re: [AJUDA] GZ's Dominбveis - by @Riichard - 28.03.2012, 13:53
Re: [AJUDA] GZ's Dominбveis - by Skun Fly - 28.03.2012, 13:59
Re: [AJUDA] GZ's Dominбveis - by @Riichard - 28.03.2012, 16:00
Re: [AJUDA] GZ's Dominбveis - by Skun Fly - 28.03.2012, 16:38
Re: [AJUDA] GZ's Dominбveis - by @Riichard - 28.03.2012, 16:42
Re: [AJUDA] GZ's Dominбveis - by VivianeDejoss - 28.03.2012, 17:38
Re: [AJUDA] GZ's Dominбveis - by Skun Fly - 28.03.2012, 17:50
Re: [AJUDA] GZ's Dominбveis - by StrondaXxT - 28.03.2012, 20:59

Forum Jump:


Users browsing this thread: 1 Guest(s)