Error in core.inc
#1

Hello guys.
I can't compile my gamemode. In output it says "..\core.inc(12) : error 042: invalid combination of class specifiers"
I have no idea how to fix this.
core.inc:
pawn Код:
#if defined _core_included
  #endinput
#endif
#define _core_included
#pragma library Core

native heapspace();

native funcidx(const name[]);

native numargs();
native getarg(arg, index=0);
native setarg(arg, index=0, value);

native tolower(c);
native toupper(c);
native swapchars(c);

native random(max);

native min(value1, value2);
native max(value1, value2);
native clamp(value, min=cellmin, max=cellmax);

native getproperty(id=0, const name[]="", value=cellmin, string[]="");
native setproperty(id=0, const name[]="", value=cellmin, const string[]="");
native deleteproperty(id=0, const name[]="", value=cellmin);
native existproperty(id=0, const name[]="", value=cellmin);
Error is in this line.
pawn Код:
native heapspace();
Please help.
EDIT: I'm running a Windows 7 Ultimate 64-bit Servie Pack 1
Reply
#2

Are you sure everything are updated to 0.3e? The include's code seems fine and I did a test about it, nothing is wrong with it.
Reply
#3

Quote:
Originally Posted by Dwane
Посмотреть сообщение
Are you sure everything are updated to 0.3e? The include's code seems fine and I did a test about it, nothing is wrong with it.
Yeah, everything is updated now and was fine when i was on XP, but once i compiled gm when i was on win 7 and noting was wrong..
Reply
#4

Redownload the include and try again.
Reply
#5

Hmm, strange. I downloaded a clean server yesterday and copied all my gamemode and stuff to new server and tried to compile, but nothing.. Seems like it works fine now.
Reply
#6

Quote:
Originally Posted by [CrC]reinixx
Посмотреть сообщение
Yeah, everything is updated now and was fine when i was on XP, but once i compiled gm when i was on win 7 and noting was wrong..
Hm, I'm not sure if it's something with the Windows, I'm using Windows XP too and it worked.

Quote:
Originally Posted by [CrC]reinixx
Посмотреть сообщение
Hmm, strange. I downloaded a clean server yesterday and copied all my gamemode and stuff to new server and tried to compile, but nothing.. Seems like it works fine now.
Maybe!
Reply
#7

Anyway, everything works now.
I just dragged ''pawno'' from clean server package over my existing pawno and yeah, works fine, no errors or warnings.
Thanks.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)