Saving car mods using yini
#10

https://sampforum.blast.hk/showthread.php?tid=606234

Apparently you cannot use this in that manner.

How are you calling it under OnFilterscriptExit, and I'd highly suggest you go back to what you had prior to this "help", and diagnose why it's not writing the file properly.

I'd say you need to make it go through the 16 slots by specifying the max slots of 16. As well as having a MAX_CARS var in the server tracking how many vehicles on your server are indeed spawned.


Even check if the mod is being picked up by OnVehicleMod by putting a SendClientMessage in saying what got modded, so you can track that it is doing it, then doing the same with a "save" function that simply prints to the screen so you can see that it is picking up what you want it to ingame without having to open the file after jumping out.
Reply


Messages In This Thread
Saving car mods using yini - by SalmaN97 - 14.05.2016, 14:43
Re: Saving car mods using yini - by Skimmer - 14.05.2016, 17:07
Re: Saving car mods using yini - by SalmaN97 - 14.05.2016, 17:18
Re: Saving car mods using yini - by Skimmer - 14.05.2016, 17:28
Re: Saving car mods using yini - by SalmaN97 - 14.05.2016, 18:13
Re: Saving car mods using yini - by Skimmer - 14.05.2016, 19:27
Re: Saving car mods using yini - by SalmaN97 - 14.05.2016, 19:58
Re: Saving car mods using yini - by oMa37 - 14.05.2016, 20:34
Re: Saving car mods using yini - by SalmaN97 - 14.05.2016, 20:39
Re: Saving car mods using yini - by Sew_Sumi - 14.05.2016, 20:52

Forum Jump:


Users browsing this thread: 2 Guest(s)