Problem add cars to server
#3

Код:
public OnVehicleSpawn(vehicleid)
{
  if(vehicleid == tcccar){
  	ChangeVehiclePaintjob(tcccar,0); // paint job
  	AddVehicleComponent(tcccar, 1033); // roof
  	AddVehicleComponent(tcccar, 1010); // nos
  	AddVehicleComponent(tcccar, 1080); // rim
  	AddVehicleComponent(tcccar, 1029); // exhaust
  	AddVehicleComponent(tcccar, 1026); // side
  	AddVehicleComponent(tcccar, 1170); // front
  	AddVehicleComponent(tcccar, 1140); // rear
  	AddVehicleComponent(tcccar, 1139); // Spoiler
  }
    if(vehicleid == tcccar1){
  	ChangeVehiclePaintjob(tcccar1,0); // paint job
  	AddVehicleComponent(tcccar1, 1035); // roof
  	AddVehicleComponent(tcccar1, 1010); // nos
  	AddVehicleComponent(tcccar1, 1080); // rim
  	AddVehicleComponent(tcccar1, 1037); // exhaust
  	AddVehicleComponent(tcccar1, 1039); // side
  	AddVehicleComponent(tcccar1, 1172); // front
  	AddVehicleComponent(tcccar1, 1148); // back
  	AddVehicleComponent(tcccar1, 1146); // Spoiler
  }
      if(vehicleid == tcccar2){
  	ChangeVehiclePaintjob(tcccar2,0); // paint job
  	AddVehicleComponent(tcccar2, 1068); // roof
  	AddVehicleComponent(tcccar2, 1010); // nos
  	AddVehicleComponent(tcccar2, 1080); // rim
  	AddVehicleComponent(tcccar2, 1066); // exhaust
  	AddVehicleComponent(tcccar2, 1070); // side
  	AddVehicleComponent(tcccar2, 1173); // front
  	AddVehicleComponent(tcccar2, 1161); // back
  	AddVehicleComponent(tcccar2, 1158); // Spoiler
  }
      if(vehicleid == tcccar3){
  	ChangeVehiclePaintjob(tcccar3,0); // paint job
  	AddVehicleComponent(tcccar3, 1053); // roof
  	AddVehicleComponent(tcccar3, 1010); // nos
  	AddVehicleComponent(tcccar3, 1080); // rim
  	AddVehicleComponent(tcccar3, 1045); // exhaust
  	AddVehicleComponent(tcccar3, 1048); // side
  	AddVehicleComponent(tcccar3, 1152); // front
  	AddVehicleComponent(tcccar3, 1151); // back
  	AddVehicleComponent(tcccar3, 1050); // Spoiler
  }
      if(vehicleid == tcccar4){
  	ChangeVehiclePaintjob(tcccar4,0); // paint job
  	AddVehicleComponent(tcccar4, 1061); // roof
  	AddVehicleComponent(tcccar4, 1010); // nos
  	AddVehicleComponent(tcccar4, 1080); // rim
  	AddVehicleComponent(tcccar4, 1059); // exhaust
  	AddVehicleComponent(tcccar4, 1057); // side
  	AddVehicleComponent(tcccar4, 1156); // front
  	AddVehicleComponent(tcccar4, 1157); // back
  	AddVehicleComponent(tcccar4, 1060); // Spoiler
  }
      if(vehicleid == tcccar5){
  	ChangeVehiclePaintjob(tcccar5,0); // paint job
  	AddVehicleComponent(tcccar5, 1091); // roof
  	AddVehicleComponent(tcccar5, 1010); // nos
  	AddVehicleComponent(tcccar5, 1080); // rim
  	AddVehicleComponent(tcccar5, 1089); // exhaust
  	AddVehicleComponent(tcccar5, 1057); // side
  	AddVehicleComponent(tcccar5, 1165); // front
  	AddVehicleComponent(tcccar5, 1167); // back
  	AddVehicleComponent(tcccar5, 1163); // Spoiler
  }
  return 1;
}
Reply


Messages In This Thread
Problem add cars to server - by l1lwayn3 - 05.08.2013, 15:02
Re: Problem add cars to server - by Chrisis - 05.08.2013, 15:50
Re: Problem add cars to server - by l1lwayn3 - 05.08.2013, 15:53
Re: Problem add cars to server - by Kudoz - 05.08.2013, 16:04
Re: Problem add cars to server - by Konstantinos - 05.08.2013, 16:07
Re: Problem add cars to server - by l1lwayn3 - 05.08.2013, 16:11
Re: Problem add cars to server - by Luis- - 05.08.2013, 16:14
Re: Problem add cars to server - by l1lwayn3 - 05.08.2013, 16:50

Forum Jump:


Users browsing this thread: 1 Guest(s)