24.07.2009, 05:31
Код:
C:\**********.pwn(7207) : error 028: invalid subscript (not an array or too many subscripts): "Adminsz" C:\**********.pwn(7207) : warning 215: expression has no effect C:\**********.pwn(7207) : error 001: expected token: ";", but found "]" C:\**********.pwn(7207) : error 029: invalid expression, assumed zero C:\**********.pwn(7207) : 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 Код:
enum Adminsz
{
aname[MAX_PLAYER_NAME],
alevel
};
new Adminsz2[11][Adminsz];
pawn Код:
new string2[256];
format(string2, sizeof(string2), "**");
7207----->Adminsz[1][aname] = string2;
format(string2, sizeof(string2), "**");
Adminsz[2][aname] = string2;
format(string2, sizeof(string2), "**");
Adminsz[3][aname] = string2;
format(string2, sizeof(string2), "**");
Adminsz[4][aname] = string2;
format(string2, sizeof(string2), "**");
Adminsz[5][aname] = string2;
format(string2, sizeof(string2), "**");
Adminsz[6][aname] = string2;
format(string2, sizeof(string2), "**");
Adminsz[7][aname] = string2;
format(string2, sizeof(string2), "**");
Adminsz[8][aname] = string2;
HELP PLEASE