Tag mismatch
#7

Quote:
Originally Posted by ATGOggy
Посмотреть сообщение
This is all enough:
Oh please, this is all completely redundant. At the very least there is no more out of bounds error, but at the expense of 285 times the memory usage and processing overhead. Well done! (yes, that is sarcastic).

PHP код:

new Bcar[7]; // 7 cars, oh my god!
public OnGameModeInit()
{
    
Bcar[0] = AddStaticVehicle(...);
    
Bcar[1] = AddStaticVehicle(...);
    ...
    
Bcar[6] = AddStaticVehicle(...);
}
        for(new 
isizeof(Bcars); i++)
        {
            if(!
VehicleOccupied(i) && bCars[i])
            {
                   
SetVehicleToRespawn(i);
            }
        } 
Reply


Messages In This Thread
Tag mismatch - by rambalili2 - 22.10.2015, 15:15
Re: Tag mismatch - by Vince - 22.10.2015, 16:38
Re: Tag mismatch - by ATGOggy - 22.10.2015, 16:56
Re: Tag mismatch - by rambalili2 - 22.10.2015, 17:01
Re: Tag mismatch - by ATGOggy - 22.10.2015, 17:03
Re: Tag mismatch - by rambalili2 - 22.10.2015, 17:13
Re: Tag mismatch - by Vince - 22.10.2015, 17:22
Re: Tag mismatch - by ATGOggy - 22.10.2015, 17:56

Forum Jump:


Users browsing this thread: 2 Guest(s)