SA-MP Forums Archive
[HELP] Adding compoments in files - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [HELP] Adding compoments in files (/showthread.php?tid=116772)



[HELP] Adding compoments in files - Evangek - 30.12.2009

hey guys i got this :

car = AddStaticVehicle(451,2091.1777,1239.1256,10.5279,8 9.2555,125,125);
SetVehicleNumberPlate(car, "test");
AddVehicleComponent(car,1010);
}

but i want at AddVehicleComponent(car,1010); more compoments if i use (car,1010,1020); i get a warning but can u guys help me?

Thanks.


Re: [HELP] Adding compoments in files - MerLow - 30.12.2009

You can write more than one time:

AddVehicleComponent(car,1010);
AddVehicleComponent(car,1020);
AddVehicleComponent(car,1030);

...