SA-MP Forums Archive
Vehicle Component Problem - 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: Vehicle Component Problem (/showthread.php?tid=170599)



Vehicle Component Problem - Mike_Peterson - 23.08.2010

I got a problem with my Gamemode, im using an edited GF script and i wanted it to save components of owned cars..
now everything works succesfully but just one thing doesnt.. the vehicle modifications only show when the vehicle is respawned.. i want it so that when the server is on that the modifications show...
me and my co-owner tried to do SetVehicleModifications(carid);(Theres a Public) on gamemodeinit but this gave the error: Undefined Symbol ("carid") ... and we want it that every vehicle who has components(nitro,Wheels etc.) shows them when the server is on..

Best regards, Mike_Peterson.


Re: Vehicle Component Problem - Voldemort - 23.08.2010

I had the same prob some time ago, I can't remeber how I fixed it, try to add parts onvehiclespawn


Re: Vehicle Component Problem - iggy1 - 23.08.2010

Use OnVehicleStreamedIn and mod the cars there. That should do the trick


Re: Vehicle Component Problem - Mike_Peterson - 23.08.2010

hmm @voldemort, i already done that..
@iggy1, ima test it.