Raised This Month: $13 Target: $400

Solved fatal error 186: insufficient memory

Thread Tools Display Modes
Prev Previous Post   Next Post Next
Junior Member
Join Date: May 2020
Old 05-24-2020 , 07:04   Re: fatal error 186: insufficient memory
Reply With Quote #11

So, from what I get here, you are working with two scripts. One is creating a Native to be used from the other. The one defining the Native has the line:
CreateNative("JC_GetCaptain", Native_Obtener);

You also need to create an include file with contents like:
PHP Code:
/** Double-include prevention */
#if defined _mynatives_included_
#define _mynatives_included_
native int JC_GetCaptain(); 
Now include it with:
#include "filenameOfIncludeInSameDirectory.inc"
Then you should be able to run: if(JC_GetCaptain() == client)
Tilex is offline

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -4. The time now is 16:16.

Powered by vBulletin®
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Theme made by Freecode