AddVehicleComponent - 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: AddVehicleComponent (
/showthread.php?tid=66070)
AddVehicleComponent -
streetzuk - 19.02.2009
Hey, I wanted to know if it is possible to locate the id's of the standard componants on regular vehicles?
So if i was to repair an Elegy for example, I could add the standard componant to the vehicle.
Any help or advice is appreciated, ty.
Re: AddVehicleComponent -
My_Waffles_Bitch_L0L - 19.02.2009
do u mean taht if tah car is tuned, and it got repaired, the normal parts will restore? :>
Re: AddVehicleComponent -
streetzuk - 19.02.2009
I meen if the car is not tuned, so like the bumpers the car originally has ongamemodeinit.
Re: AddVehicleComponent -
TrueCoppa - 19.02.2009
He means using AddVehicleComponent to repair the paint job of a vehicle
Re: AddVehicleComponent -
streetzuk - 19.02.2009
Yeah thats what i meen as you can use ChangeVehicleColor but it won't fix damaged parts.
Re: AddVehicleComponent -
Joe Staff - 19.02.2009
Neither will AddVehicleComponent, not completely anyway, it will look undented, but doors will still be missing, the bumper still hanging. Best thing to do is to record where they start, then make a command that deletes them and replaces it
Re: AddVehicleComponent -
streetzuk - 19.02.2009
Aha good point, thank you for your help guys.
Re: AddVehicleComponent -
ICECOLDKILLAK8 - 19.02.2009
Use OnVehicleMod and OnVehicleSpray to record the components to a variable/file