Save Vehicle Mods - 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)
+--- Thread: Save Vehicle Mods (
/showthread.php?tid=418891)
Save Vehicle Mods -
Lemonaidz - 26.02.2013
Hello, i need some help.
i'm trying to save Vehicle Mods on my server, and i cant seem to save them, iv'e looked for the whole day and tried at least 10 FS to do this and none work, they where mostly posts from 2009-2011.
So what i'm asking is, is there anyway to save my vehicle mods, Wiki made NO sense to me.
Re: Save Vehicle Mods -
Jstylezzz - 26.02.2013
Check the OnVehicleMod callback.
You can save the component ids to variables, and save these to a file.
Then when you load the cars, load the file that corresponds to the car, and load the values into the variables again.
Re: Save Vehicle Mods -
Lemonaidz - 26.02.2013
ok, so i went to -
https://sampwiki.blast.hk/wiki/Saving_car_mods
and made it into a Fs, but that do i do after that?
sorry im noob at this atm, just learning.
Re: Save Vehicle Mods -
Jstylezzz - 26.02.2013
Why do you make it into a FS?
If you just place those things in your gamemode, it will be alot easier for you..
Re: Save Vehicle Mods -
Lemonaidz - 26.02.2013
what do i do after iv'e put it in my GM?
Re: Save Vehicle Mods -
Lemonaidz - 26.02.2013
Bump