Save Vehicle Mods
#1

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.
Reply
#2

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.
Reply
#3

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.
Reply
#4

Why do you make it into a FS?
If you just place those things in your gamemode, it will be alot easier for you..
Reply
#5

what do i do after iv'e put it in my GM?
Reply
#6

Bump
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)