AddStaticVehicle
#4

its cuase its useing car ids so everytime u add a car it changes id use this code for the ids it should fix the porb just chnage the model ids to the cop cars ur using like 596 597 and 598 are cop cars hope this helps


Код:
public IsABoat(carid)
{
  new carmodel = GetVehicleModel(carid);
  
	if(carmodel == 430 || carmodel == 453)
	{
		return 1;
	}
	return 0;
}

public IsAPlane(carid)
{
  new carmodel = GetVehicleModel(carid);
  
	if(carmodel == 487 || carmodel == 425 || carmodel == 488 || carmodel == 497 || carmodel == 593 || carmodel == 513 )
	{
		return 1;
	}
	return 0;
}

public IsACopCar(carid)
{
  new carmodel = GetVehicleModel(carid);
	if(carmodel == 425 || carmodel == 432 || carmodel == 433 || carmodel == 470 || carmodel == 490 || carmodel == 497 || carmodel == 596
	 || carmodel == 597 || carmodel == 598 || carmodel == 601 || carmodel == 523 || carmodel == 430 || carmodel == 427 || carmodel == 528)
	{
		return 1;
	}
	return 0;
}

public IsAnAmbulance(carid)
{
  new carmodel = GetVehicleModel(carid);
	if(carmodel == 416 || carmodel == 599)
	{
		return 1;
	}
	return 0;
}
Reply


Messages In This Thread
AddStaticVehicle - by Troublemaker - 04.09.2009, 10:02
Re: AddStaticVehicle - by gotenks918 - 04.09.2009, 10:20
Re: AddStaticVehicle - by Troublemaker - 04.09.2009, 10:23
Re: AddStaticVehicle - by bristan - 04.09.2009, 10:23

Forum Jump:


Users browsing this thread: 1 Guest(s)