Run time error 3: "Stack/heap collision (insufficient stack size)"
#2

You are putting the objects in the GM itself?
On my server, i did it by making an include, and putting it in the include folder of your compiler.
5k lines worked fine for me, never tried 20k thought
PHP Code:
#include <a_samp>
#include <streamer>
public OnGameModeInit()
{
    
// Objects and stuff here
    
if (funcidx("Object_OnGameModeInit") != -1)
    {
        return 
CallLocalFunction("Object_OnGameModeInit""");
    }
    return 
true;
}
#if defined _ALS_OnGameModeInit
#undef OnGameModeInit
#else
#define _ALS_OnGameModeInit
#endif
#define OnGameModeInit Object_OnGameModeInit
forward Object_OnGameModeInit(); 
Reply


Messages In This Thread
Run time error 3: "Stack/heap collision (insufficient stack size)" - by OPcode - 09.01.2019, 07:57
Re: Run time error 3: "Stack/heap collision (insufficient stack size)" - by ch1ps - 09.01.2019, 18:19

Forum Jump:


Users browsing this thread: 1 Guest(s)