SA-MP Forums Archive
Object ID Saves 0 and then 1 and keeps over writing 1 - 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: Object ID Saves 0 and then 1 and keeps over writing 1 (/showthread.php?tid=495467)



Object ID Saves 0 and then 1 and keeps over writing 1 - Phil_Cutcliffe - 17.02.2014

SOLVED


Re: Object ID Saves 0 and then 1 and keeps over writing 1 - Phil_Cutcliffe - 17.02.2014

Any1 got any ideas for me on this? Really need to get this sorted.


Re: Object ID Saves 0 and then 1 and keeps over writing 1 - Lidor124 - 17.02.2014

Maybe try object = 0; on your loops?
for(new object = 0; object < sizeof(ObjectInfo); object++)


Re: Object ID Saves 0 and then 1 and keeps over writing 1 - Phil_Cutcliffe - 17.02.2014

Quote:
Originally Posted by Lidor124
Посмотреть сообщение
Maybe try object = 0; on your loops?
for(new object = 0; object < sizeof(ObjectInfo); object++)
Tried that but I've solved it now thanks