[Help] Zone Time Detection [+Rep]
#3

Clearly proofs from this.
PHP код:
                ZoneAttackTime[i]++; 
                if(
ZoneAttackTime[i] <== TAKEOVER_TIME// zone has been under attack for enough time and attackers take over the zone 
                

                    
GangZoneStopFlashForAll(ZoneID[i]); 
                    
ZoneInfo[i][zTeam] = ZoneAttacker[i]; 
                    
GangZoneShowForAll(ZoneID[i], GetTeamZoneColor(ZoneInfo[i][zTeam])); // update the zone color for new team 
                    
ZoneAttacker[i] = -1
                } 
            if(
ZoneAttackTime[i] == TAKEOVER_TIME// zone has been under attack for enough time and attackers take over the zone 
                

                    
GangZoneStopFlashForAll(ZoneID[i]); 
                    
ZoneInfo[i][zTeam] = ZoneAttacker[i]; 
                    
GangZoneShowForAll(ZoneID[i], GetTeamZoneColor(ZoneInfo[i][zTeam])); // update the zone color for new team 
                    
ZoneAttacker[i] = -1
                } 
It won't work.
Reply


Messages In This Thread
[Help] Zone Time Detection [+Rep] - by Arxalan - 21.01.2015, 09:35
Re: [Help] Zone Time Detection [+Rep] - by semara123 - 21.01.2015, 11:54
Re: [Help] Zone Time Detection [+Rep] - by Arxalan - 21.01.2015, 11:57

Forum Jump:


Users browsing this thread: 1 Guest(s)