How to make 17 cars into 1
#4

Well I use this one.

Код:
public IsACopCar(vehicleid)
{
  for(new i=0; i<18; i++)
  {
  if(vehicleid == copv[i])
  {
  return 1;
  }
  }
  return 0;
}
And at OnGameModeInit

Код:
copv[1] = AddStaticVehicleEx
copv[2] =
ETC till 17 in this example
But you could also select all modelids , which is usefull if you only want to use PD vehicles for the PD.
Reply


Messages In This Thread
How to make 17 cars into 1 - by JoeDaDude - 12.06.2009, 17:09
Re: How to make 17 cars into 1 - by Flo_White - 12.06.2009, 17:59
Re: How to make 17 cars into 1 - by ziomal396 - 12.06.2009, 18:14
Re: How to make 17 cars into 1 - by BioFreeze - 12.06.2009, 18:36

Forum Jump:


Users browsing this thread: 1 Guest(s)