No components
#1

Hi!
I addedd this to OnVehicleSpawn:
Код:
  if(vehicleid == needsmods0) {
  AddVehicleComponent(vehicleid, 1029);
  AddVehicleComponent(vehicleid, 1169);
  AddVehicleComponent(vehicleid, 1140);
  AddVehicleComponent(vehicleid, 1033);
  AddVehicleComponent(vehicleid, 1138);
  AddVehicleComponent(vehicleid, 1031);
  AddVehicleComponent(vehicleid, 1080);
  AddVehicleComponent(vehicleid, 1086);
  AddVehicleComponent(vehicleid, 1087);
  AddVehicleComponent(vehicleid, 1010);
  }
And this in gamemodeinit:
needsmods0 = AddStaticVehicle(560,-1686.8374,1036.6555,17.2915,89.4750,0,0);

But when I go check if the car has mods... there are no mods for the car!
Why's that?
Oh and what does this mean?
new somearray[999] = {-1, ...};
The syntax...
Reply


Messages In This Thread
No components - by potato - 14.06.2009, 02:14
Re: No components - by yezizhu - 14.06.2009, 02:17
Re: No components - by potato - 14.06.2009, 02:21
Re: No components - by Abernethy - 14.06.2009, 03:58
Re: No components - by potato - 14.06.2009, 12:53

Forum Jump:


Users browsing this thread: 1 Guest(s)