ID Repeating issue - 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: ID Repeating issue (
/showthread.php?tid=312988)
ID Repeating issue -
Abreezy - 23.01.2012
I've made a house system and for some odd reason if I close the server, then turn back on afterwards, it goes back to ID 1 even though id 1 -3 for houses are already created. I use:
To increase the ID, and it works perfectly if the server never turns off. The houses load perfectly aswell, So how could I fix this issue?
Re: ID Repeating issue -
Gh05t_ - 23.01.2012
You must save the data.
Re: ID Repeating issue -
Abreezy - 23.01.2012
I do save the data, it also names the house as the IDs, Then after restarting or turning server on again, it starts saving over the others with id 1, 2, 3, etc.
Re: ID Repeating issue -
DonWade - 23.01.2012
Load Saved Files on player connect
Re: ID Repeating issue -
Abreezy - 23.01.2012
I load the houses on ongamemodeinit.