09.03.2013, 13:03
(
Последний раз редактировалось RajatPawar; 11.03.2013 в 07:10.
)
Hello guys.
There's an error on the 81st line:
The 81st line:
Enum declaration:
Can't figure it out, if you can help, please do !
There's an error on the 81st line:
Quote:
error 001: expected token: "]", but found "-identifier-" warning 215: expression has no effect error 001: expected token: ";", but found "]" error 029: invalid expression, assumed zero fatal error 107: too many error messages on one line |
pawn Код:
stock CreateTDboxForPlayer(playerid, title[], titlecolor[], const string[1020])
{
for(new i = 0; i<MAX_TMENUS; i++)
{
if(InfoBox[i][mCreated] == false)
{
format(InfoBox[i][mString], sizeof(InfoBox[i][mString]), "%s", string); // 81st line !
format(InfoBox[i][mTitle], sizeof(InfoBox[i][mTitle]), "%s", title);
format(InfoBox[i][mtColor], sizeof(InfoBox[i][mtColor]), "%s", titlecolor);
InfoBox[i][mCreated] = 1;
return i;
}
else continue;
}
return 0;
}
pawn Код:
enum iBox
{
bool:mCreated,
mString[1024],
mTitle[50],
mtColor[14],
bool:mShown
}
new InfoBox[MAX_TMENUS][iBox];