SA-MP Forums Archive
Problem with objects!? - 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: Problem with objects!? (/showthread.php?tid=546229)



Problem with objects!? - Mike_Carlone - 14.11.2014

I am making a new version of my gamemode.New version has a quite good number of create objects & created dynamic objects also setobjectmaterials.I got my maps in filterscripts because gamemode is really big(thats the reason i am using filterscripts for maps).When u load all 3 filterscripts with objects, all objects on server just got deleted.I tried a lot of things but nothing changed.What could make this heppen?


Re: Problem with objects!? - TakeiT - 14.11.2014

You should use 1 filterscript for all maps. Don't mix CreateObject and CreateDynamicObject if you can help it. Also, you've probably gone over your object limit. do something like #undef MAX_OBJECTS and #define MAX_OBJECTS 99999 (Note. Will cause big loops, there are better ways to do this, however this will tell you if that's the problem)