SA-MP Forums Archive
storing data from sql on gm init - 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: storing data from sql on gm init (/showthread.php?tid=552873)



storing data from sql on gm init - jawiie - 27.12.2014

Hi everybody,

im storing vehicle, building vb. data in variables on gamemodeinit and when i need to change data im updating sql table and changing variables. now im getting stack/heap collision (insufficient stack size) error. can this be the reason of thiss error? i have a table that have 11k rows in it and i store it in 11k sized array.

is string packing prevent this error?

sorry for my english hope u understand me