SA-MP Forums Archive
How i can? - 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: How i can? (/showthread.php?tid=197317)



How i can? - kiss - 08.12.2010

How i can add car with tuning?


Re: How i can? - SkizzoTrick - 08.12.2010

Did you even use the big SEARCH Button?
https://sampwiki.blast.hk/wiki/AddVehicleComponent


Re: How i can? - Jeffry - 08.12.2010

This will create tuned spawn cars:

At TOP:
pawn Код:
new MyCar
OnGameModeInit:
pawn Код:
MyCar = AddStaticVehicle(Model, x,y,z,angle,color1,color2);
AddVehicleComponent(MyCar, component);
OnVehicleSpawn:
pawn Код:
if(vehicleid == MyCar) AddVehicleComponent(MyCar, component);
Hope you get it. ^^