Error in core.inc - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Server (
https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (
https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Error in core.inc (
/showthread.php?tid=406683)
Error in core.inc -
[CrC]reinixx - 11.01.2013
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.
Please help.
EDIT: I'm running a Windows 7 Ultimate 64-bit Servie Pack 1
Re: Error in core.inc -
Konstantinos - 11.01.2013
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.
Re: Error in core.inc -
[CrC]reinixx - 11.01.2013
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..
Re: Error in core.inc -
DiGiTaL_AnGeL - 11.01.2013
Redownload the include and try again.
Re: Error in core.inc -
[CrC]reinixx - 11.01.2013
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.
Re: Error in core.inc -
Konstantinos - 11.01.2013
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!
Re: Error in core.inc -
[CrC]reinixx - 11.01.2013
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.