25.07.2009, 17:08
I have a trouble, but I can't find where is my mistake, maybe you'll see what's wrong.
Here is errors:
And here is part of code:
Here is errors:
Код:
C:\DOCUME~1\Arnoldas\Desktop\Serveris\Serveris\FILTER~1\INGAME~1.PWN(485) : error 001: expected token: "]", but found "-integer value-" C:\DOCUME~1\Arnoldas\Desktop\Serveris\Serveris\FILTER~1\INGAME~1.PWN(485) : warning 215: expression has no effect C:\DOCUME~1\Arnoldas\Desktop\Serveris\Serveris\FILTER~1\INGAME~1.PWN(485) : error 001: expected token: ";", but found "]" C:\DOCUME~1\Arnoldas\Desktop\Serveris\Serveris\FILTER~1\INGAME~1.PWN(485) : error 029: invalid expression, assumed zero C:\DOCUME~1\Arnoldas\Desktop\Serveris\Serveris\FILTER~1\INGAME~1.PWN(485) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
pawn Код:
if(current == colorsmenu)
{
switch(row)
{
case 0:
{
if(Item[0] == 1)
{
format(MenuItemsString[0], sizeof(MenuItemsString[0]), "%s%s",MenuColors[0], MenuItems[0]); // line 485
ShowMenuForPlayer(createmenu, playerid);
UpdateMenu2(playerid);
}