My Dynamic Car Spawn System - 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: My Dynamic Car Spawn System (
/showthread.php?tid=386977)
My Dynamic Car Spawn System -
spd_sahil - 22.10.2012
Guys I have a dynamic car creator saver loader , it is based on SQLite ,
It works like this :
There is a command to save all the important information of the car which I want to save , for eg co-ordinates and tuning etc
All that works like a charm , everything is saved into the sql database correctly
But now , when I shut the gamemode start it again , ( the part where the FS should load all cars in server ) I see bugs , I had saved a total of 30 cars in the DB , lot of them had tuning components , my spawner works like this :-
Onfilterscriptinit I call a function , which loads fills all required variables , tht happens in a loop ofcourse
And after that loop is done , I have a stock to load vehicles , cars here spawn on the server , this happens in a loop to , and in this loop another stock is called which adds components to that car , no the problem is ,
Not all my cars are spawning with perfectionist , sometimes one or more cars are missing paint job , maybe other components , sometimes the entire car is not created , but at a different time , it will be created
Can anyone help me ?
Re: My Dynamic Car Spawn System -
spd_sahil - 23.10.2012
Bump ? This is serious problem guys pls help me
Re: My Dynamic Car Spawn System -
niels44 - 23.10.2012
show us your code