19.02.2009, 17:22
Help, i have an error with core.inc.
I havent tried editing it, and it worked just fine untill i added:
which worked just fine..
Until i added it under a teleport, which also worked.
Full, Non-Working Code:
when i added;
i compiled it and it said this:
Can anyone help me with the Core Error?
Line 12 of core.inc is
I re-downloaded the server source and replaced it, copying my Gamemode to the new directory, and it came up with this:
Info:
My Gamemode is an edited version of Seif's 'Stuntz 'n' Driftz 'n' Race 'n' Pwn!'
Can someone please help?
I havent tried editing it, and it worked just fine untill i added:
pawn Код:
(PlayerInfo[playerid][pAdmin] < 1)
Until i added it under a teleport, which also worked.
Full, Non-Working Code:
pawn Код:
if (strcmp(cmdtext, "/adhq", true) == 0)
{
if(PlayerInfo[playerid][pAdmin] < 1)
SendClientMessage(playerid, GREEN, "Well Done for getting here! keep it up!");
SendClientMessage(playerid, PURPLE, " |- Commands -|");
SendClientMessage(playerid, PURPLE, " /adminlift /admingarage /adminopen");
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,216.0368,1911.4246,17.6406);
return 1;
}
pawn Код:
(PlayerInfo[playerid][pAdmin] < 1)
Код:
C:\Users\Michael & Sophie\Desktop\Server\samp02Xserver.win32\pawno\include\core.inc(12) : error 010: invalid function or declaration C:\Users\Michael & Sophie\Desktop\Server\samp02Xserver.win32\gamemodes\FMJ.pwn(6290) : warning 203: symbol is never used: "CountDelay" C:\Users\Michael & Sophie\Desktop\Server\samp02Xserver.win32\gamemodes\FMJ.pwn(6290) : warning 203: symbol is never used: "isblank" C:\Users\Michael & Sophie\Desktop\Server\samp02Xserver.win32\gamemodes\FMJ.pwn(685) : warning 204: symbol is assigned a value that is never used: "obj1" C:\Users\Michael & Sophie\Desktop\Server\samp02Xserver.win32\gamemodes\FMJ.pwn(686) : warning 204: symbol is assigned a value that is never used: "obj2" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
Line 12 of core.inc is
pawn Код:
native heapspace();
Код:
C:\Users\Michael & Sophie\Desktop\Server\samp02Xserver.win32\pawno\include\core.inc(12) : error 010: invalid function or declaration C:\Users\Michael & Sophie\Desktop\Server\samp02Xserver.win32\gamemodes\FMJ.pwn(6160) : error 076: syntax error in the expression, or invalid function call C:\Users\Michael & Sophie\Desktop\Server\samp02Xserver.win32\gamemodes\FMJ.pwn(6161) : error 076: syntax error in the expression, or invalid function call C:\Users\Michael & Sophie\Desktop\Server\samp02Xserver.win32\gamemodes\FMJ.pwn(6164) : error 025: function heading differs from prototype C:\Users\Michael & Sophie\Desktop\Server\samp02Xserver.win32\gamemodes\FMJ.pwn(6168) : error 025: function heading differs from prototype C:\Users\Michael & Sophie\Desktop\Server\samp02Xserver.win32\gamemodes\FMJ.pwn(6172) : error 025: function heading differs from prototype C:\Users\Michael & Sophie\Desktop\Server\samp02Xserver.win32\gamemodes\FMJ.pwn(6290) : warning 203: symbol is never used: "CountDelay" C:\Users\Michael & Sophie\Desktop\Server\samp02Xserver.win32\gamemodes\FMJ.pwn(6290) : warning 203: symbol is never used: "isblank" C:\Users\Michael & Sophie\Desktop\Server\samp02Xserver.win32\gamemodes\FMJ.pwn(685) : warning 204: symbol is assigned a value that is never used: "obj1" C:\Users\Michael & Sophie\Desktop\Server\samp02Xserver.win32\gamemodes\FMJ.pwn(686) : warning 204: symbol is assigned a value that is never used: "obj2" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 6 Errors.
My Gamemode is an edited version of Seif's 'Stuntz 'n' Driftz 'n' Race 'n' Pwn!'
Can someone please help?