D:\Dean's Documents\samp02Xserver.win32\gamemodes\CreativeRp.pwn(35) : error 001: expected token: ";", but found "enum" D:\Dean's Documents\samp02Xserver.win32\gamemodes\CreativeRp.pwn(259) : error 017: undefined symbol "classid" D:\Dean's Documents\samp02Xserver.win32\gamemodes\CreativeRp.pwn(259) : warning 215: expression has no effect D:\Dean's Documents\samp02Xserver.win32\gamemodes\CreativeRp.pwn(259) : error 001: expected token: ";", but found ")" D:\Dean's Documents\samp02Xserver.win32\gamemodes\CreativeRp.pwn(259) : error 029: invalid expression, assumed zero D:\Dean's Documents\samp02Xserver.win32\gamemodes\CreativeRp.pwn(259) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 5 Errors.
enum pos
{
Float:X,
Float:Y,
Float:Z
};
new TMPOS[MAX_PLAYERS][pos];
if(classid = >1)
TextDrawHideForPlayer(playerid, OverMovie);
TextDrawHideForPlayer(playerid, UnderMovie);
PlayerPlaySound(playerid, 1063, 0.0, 0.0, 0.0);
SetTimerEx("WaitFunction", 500, 0, "i", playerid);
return 1;
}
|
Originally Posted by Pghpumpkin
1: remove the ";" after the bracket in the enum.
2: classid is not a defined variable in that function. 3: put the operands as >= not = >. If they are as is, they dont do anything. 4: as a result of #3 it thinks you want to assign it a value, and use ; as a ending. #3 will fix this. 5: Should go way after fixing 1-3. |
D:\Dean's Documents\samp02Xserver.win32\gamemodes\CreativeRp.pwn(33) : error 001: expected token: ";", but found "new" D:\Dean's Documents\samp02Xserver.win32\gamemodes\CreativeRp.pwn(276) : error 017: undefined symbol "MAX_BUY_V" D:\Dean's Documents\samp02Xserver.win32\gamemodes\CreativeRp.pwn(333) : warning 217: loose indentation D:\Dean's Documents\samp02Xserver.win32\gamemodes\CreativeRp.pwn(396) : error 004: function "Tunen" is not implemented D:\Dean's Documents\samp02Xserver.win32\gamemodes\CreativeRp.pwn(528) : error 079: inconsistent return types (array & non-array) D:\Dean's Documents\samp02Xserver.win32\gamemodes\CreativeRp.pwn(531) : warning 217: loose indentation D:\Dean's Documents\samp02Xserver.win32\gamemodes\CreativeRp.pwn(531) : error 029: invalid expression, assumed zero D:\Dean's Documents\samp02Xserver.win32\gamemodes\CreativeRp.pwn(531) : error 004: function "OnGameModeExit" is not implemented D:\Dean's Documents\samp02Xserver.win32\gamemodes\CreativeRp.pwn(533) : error 079: inconsistent return types (array & non-array) D:\Dean's Documents\samp02Xserver.win32\gamemodes\CreativeRp.pwn(536) : warning 225: unreachable code D:\Dean's Documents\samp02Xserver.win32\gamemodes\CreativeRp.pwn(536) : error 029: invalid expression, assumed zero D:\Dean's Documents\samp02Xserver.win32\gamemodes\CreativeRp.pwn(536) : error 004: function "OnPlayerRequestClass" is not implemented D:\Dean's Documents\samp02Xserver.win32\gamemodes\CreativeRp.pwn(538) : error 017: undefined symbol "classid" D:\Dean's Documents\samp02Xserver.win32\gamemodes\CreativeRp.pwn(540) : error 017: undefined symbol "playerid" D:\Dean's Documents\samp02Xserver.win32\gamemodes\CreativeRp.pwn(542) : error 017: undefined symbol "classid" D:\Dean's Documents\samp02Xserver.win32\gamemodes\CreativeRp.pwn(544) : error 017: undefined symbol "playerid" D:\Dean's Documents\samp02Xserver.win32\gamemodes\CreativeRp.pwn(546) : error 079: inconsistent return types (array & non-array) D:\Dean's Documents\samp02Xserver.win32\gamemodes\CreativeRp.pwn(549) : warning 225: unreachable code D:\Dean's Documents\samp02Xserver.win32\gamemodes\CreativeRp.pwn(549) : error 029: invalid expression, assumed zero D:\Dean's Documents\samp02Xserver.win32\gamemodes\CreativeRp.pwn(549) : error 004: function "OnPlayerRequestSpawn" is not implemented D:\Dean's Documents\samp02Xserver.win32\gamemodes\CreativeRp.pwn(551) : error 079: inconsistent return types (array & non-array) D:\Dean's Documents\samp02Xserver.win32\gamemodes\CreativeRp.pwn(554) : warning 225: unreachable code D:\Dean's Documents\samp02Xserver.win32\gamemodes\CreativeRp.pwn(554) : error 029: invalid expression, assumed zero D:\Dean's Documents\samp02Xserver.win32\gamemodes\CreativeRp.pwn(554) : error 004: function "OnPlayerConnect" is not implemented D:\Dean's Documents\samp02Xserver.win32\gamemodes\CreativeRp.pwn(556) : error 017: undefined symbol "playerid" D:\Dean's Documents\samp02Xserver.win32\gamemodes\CreativeRp.pwn(557) : error 017: undefined symbol "playerid" D:\Dean's Documents\samp02Xserver.win32\gamemodes\CreativeRp.pwn(560) : error 017: undefined symbol "playerid" D:\Dean's Documents\samp02Xserver.win32\gamemodes\CreativeRp.pwn(563) : error 017: undefined symbol "playerid" D:\Dean's Documents\samp02Xserver.win32\gamemodes\CreativeRp.pwn(564) : error 017: undefined symbol "playerid" D:\Dean's Documents\samp02Xserver.win32\gamemodes\CreativeRp.pwn(565) : error 017: undefined symbol "playerid" D:\Dean's Documents\samp02Xserver.win32\gamemodes\CreativeRp.pwn(566) : error 079: inconsistent return types (array & non-array) Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 26 Errors.
#define dcmd(%1,%2,%3) if ((strcmp((%3)[1], #%1, true, (%2)) == 0) && ((((%3)[(%2) + 1] == 0) && (dcmd_%1(playerid, "")))||(((%3)[(%2) + 1] == 32) && (dcmd_%1(playerid, (%3)[(%2) + 2]))))) return 1