invalid subscripts Errors, Need Help.
#1

pawn Код:
new Text:RegisterBox;
new Text:RegisterWelcome;
new Text:RegisterUnderline;
new Text:PasswordBox;
new Text:RegisterNext;
new Text:MalePreview;
new Text:FemalePreview;
new PlayerText:FemaleText[MAX_PLAYERS];
new PlayerText:MaleText[MAX_PLAYERS];
new PlayerText:Password[MAX_PLAYERS];
pawn Код:
}
public OnPlayerClickTextDraw(playerid, Text:clickedid)
{
    if(clickedid == RegisterNext)
    {
        TextDrawDestroy(RegisterBox[playerid]);
        TextDrawDestroy(RegisterNext[playerid]);
        TextDrawDestroy(RegisterUnderline[playerid]);
        TextDrawDestroy(PasswordBox[playerid]);
        TextDrawDestroy(RegisterUnderline[playerid]);
        TextDrawDestroy(RegisterWelcome[playerid]);
        TextDrawShowForPlayer(playerid, FemaleText);
        TextDrawShowForPlayer(playerid, MaleText);
        TextDrawShowForPlayer(playerid, MalePreview);
        TextDrawShowForPlayer(playerid, FemalePreview);
    }
    return 1;
}
And theses are the errors:

Код:
C:\Users\Medo\Desktop\HEP-RP\gamemodes\new.pwn(504) : error 028: invalid subscript (not an array or too many subscripts): "RegisterBox"
C:\Users\Medo\Desktop\HEP-RP\gamemodes\new.pwn(504) : warning 215: expression has no effect
C:\Users\Medo\Desktop\HEP-RP\gamemodes\new.pwn(504) : error 001: expected token: ";", but found "]"
C:\Users\Medo\Desktop\HEP-RP\gamemodes\new.pwn(504) : error 029: invalid expression, assumed zero
C:\Users\Medo\Desktop\HEP-RP\gamemodes\new.pwn(504) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Please Help.
Reply


Messages In This Thread
invalid subscripts Errors, Need Help. - by X|Dragon|X - 13.01.2015, 11:45
Re: invalid subscripts Errors, Need Help. - by Sawalha - 13.01.2015, 11:51
Re: invalid subscripts Errors, Need Help. - by X|Dragon|X - 13.01.2015, 12:05
Re: invalid subscripts Errors, Need Help. - by JonathanFeitosa - 13.01.2015, 12:13
Re: invalid subscripts Errors, Need Help. - by X|Dragon|X - 13.01.2015, 12:18
Re: invalid subscripts Errors, Need Help. - by JonathanFeitosa - 13.01.2015, 12:23

Forum Jump:


Users browsing this thread: 2 Guest(s)