a simple question.
#1

which of these two functions is faster and better, or are they both the same?

1:

PHP код:

if(zGangZones[zoneid][zIsUsingBorders])
    {
       
GangZoneHideForPlayer(playeridzGangZones[zoneid][border][0]);
       
GangZoneHideForPlayer(playeridzGangZones[zoneid][border][1]);
       
GangZoneHideForPlayer(playeridzGangZones[zoneid][border][2]);
       
GangZoneHideForPlayer(playeridzGangZones[zoneid][border][3]);
    } 
or

2:

PHP код:

if(zGangZones[zoneid][zIsUsingBorders])
    {
        for(new 
04i++) {
            
GangZoneHideForPlayer(playeridzGangZones[zoneid][border][i]);
        }
    } 
Reply


Messages In This Thread
a simple question. - by Florin48 - 23.07.2018, 10:00
Re: a simple question. - by coool - 23.07.2018, 10:08
Re: a simple question. - by GTLS - 23.07.2018, 14:49

Forum Jump:


Users browsing this thread: 1 Guest(s)