14.06.2009, 02:14
Hi!
I addedd this to OnVehicleSpawn:
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...
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); }
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...