Quick Question - Loops/Team vehicles
#3

Sure

But you can do sth smarter and work with flags

PHP код:
new SwatCars[2];
SwatCars[0] = CreateVehicle(...); //First swat car
CreateVehicle(...); //swat car
CreateVehicle(...); //swat car
CreateVehicle(...); //swat car
CreateVehicle(...); //swat car
CreateVehicle(...); //swat car
CreateVehicle(...); //swat car
CreateVehicle(...); //swat car
CreateVehicle(...); //swat car
SwatCars[1] = CreateVehicle(...); //Last swat car
if(SwatCars[0] <= vehicleid <= SwatCars[1]) 
{
     
//Here it is a SwatCar

So you always need only 2 cells

Greekz
Reply


Messages In This Thread
Quick Question - Loops/Team vehicles - by FunnyBear - 09.03.2015, 15:06
Re: Quick Question - Loops/Team vehicles - by biker122 - 09.03.2015, 15:09
AW: Quick Question - Loops/Team vehicles - by Kaliber - 09.03.2015, 15:11

Forum Jump:


Users browsing this thread: 1 Guest(s)