A couple of *annoying* errors
#1

Код:
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];
That's up the top thar..
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;
In those "" s are actual names, just removed for this post. As you can see, I've tinkered with this to try and remove errors so much that I was reduced to formatting every single f'ing name


HELP PLEASE
Reply


Messages In This Thread
A couple of *annoying* errors - by TaMeD - 24.07.2009, 05:31
Re: A couple of *annoying* errors - by widowmkr - 24.07.2009, 09:12
Re: A couple of *annoying* errors - by TaMeD - 24.07.2009, 09:59
Re: A couple of *annoying* errors - by Weirdosport - 24.07.2009, 10:05

Forum Jump:


Users browsing this thread: 1 Guest(s)