| mammapappa |
03-21-2011 09:26 |
Re: Whats wrong here?
Quote:
Originally Posted by nnajko
(Post 1436938)
PHP Code:
new gSelectedModifyMsg[33][8];
|
inte det som var felet
jag ger lite mer kod och errors
Edit: Oops wrote in swedish :P
that was not the error
ill give some more code and errors :D
PHP Code:
public handleModifyMenu(id, num) { switch (num) { case N1: { gSelectedModifyType[id] = convertBlockAiming(id); gSelectedModifyMsg[id] = "Convert"; } case N2: { gSelectedModifyType[id] = deleteBlockAiming(id); gSelectedModifyMsg[id] = "Remove"; } case N3: { gSelectedModifyType[id] = rotateBlockAiming(id); gSelectedModifyMsg[id] = "Rotate"; } case N4: { gSelectedModifyType[id] = showPropertiesMenu(id); gSelectedModifyMsg[id] = "Set Properties"; } case N5: { gSelectedModifyType[id] = showRenderMenu(id); gSelectedModifyMsg[id] = "Set rendering"; case N0: { showMainMenu(id); } } if (num != N0) showMainMenu(id); }
Code:
Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team
Error: Number of arguments does not match definition on line 3366
Error: Array sizes do not match, or destination array is too small on line 3382
Error: Array sizes do not match, or destination array is too small on line 3387
Warning: Loose indentation on line 3388
Error: Invalid statement; not in switch on line 3388
Error: Only a single statement (or expression) can follow each "case" on line 3393
Warning: Expression has no effect on line 3393
Error: Expected token: ";", but found "-identifier-" on line 3394
Warning: Loose indentation on line 3394
Warning: Symbol is never used: "N0" on line 3395
Warning: Symbol is never used: "showModifyMenu" on line 6004
6 Errors.
Could not locate output file C:\Documents and Settings\Linus\Mina dokument\Downloads\zackyscm(1).amx (compile failed).
|