Y_INI Saves everything as 0 - 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: Y_INI Saves everything as 0 (
/showthread.php?tid=318228)
Y_INI Saves everything as 0 -
SpankMe2 - 14.02.2012
As the title says Y_INI saves everything as 0, I use Y_INI for houses and and players they wrok fine, However the system doesnt seem to work for my vehicles.
[Main]
Vehicle ID = 0
Model = 0
X = 0.000000
Y = 0.000000
Z = 0.000000
Colour 1 = 0
Colour 2 = 0
Type = 0
Price = 0
Dealership ID = 0
Faction ID = 0
Work ID = 0
If you need any code just ask for it
Re: Y_INI Saves everything as 0 -
SpankMe2 - 14.02.2012
Problem found searching for soulution
Re: Y_INI Saves everything as 0 -
SpankMe2 - 14.02.2012
The problem was because my system is dynamic I didnt want all cars spawned at the same time so thinking I was cleaver I put the vehicle ID inside the file the saved that vehicle id, however this wont work because the vehicle id's are loading in differnt orders. If anyone knows how to fix this without making it so the vehicle id's are the same post your ideas. THe porblem iss the player owned vehicles are not always spawned