SA-MP Forums Archive
/addcar - Ads the new car + saves another 84 Cars after the new car - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: /addcar - Ads the new car + saves another 84 Cars after the new car (/showthread.php?tid=74018)



/addcar - Ads the new car + saves another 84 Cars after the new car - Castle - 19.04.2009

I made this Command - http://pastebin.com/f6b5b469f
I have this Load Callback - http://pastebin.com/f26bf8401
I have this Save Callback - http://pastebin.com/f450f542d
I have this on my OnGameModeInit() - http://pastebin.com/f6b00a11
And heres the defines for all the save variables: http://pastebin.com/f6e9b393a
The problem is that when I do /addcar 404 116 116 it spawns the car, All great but it also saves another 84 Cars after the new car I've added via /addcar.
Now its weird couse It kinda saves 84 cars that I already have in the file

What is the problem?


Re: /addcar - Ads the new car + saves another 84 Cars after the new car - Castle - 19.04.2009

Any1 Can Help please?