Error 001/029
#1

Код:
stock ShowPlayerFooter(playerid, string[], time = 5000) {
	if (Player[playerid][pShowFooter]) {
	    PlayerTextDrawHide(playerid, Player[playerid][pTextdraws][39]); //line 12202
	    KillTimer(Player[playerid][pFooterTimer]);
	}
	PlayerTextDrawSetString(playerid, Player[playerid][pTextdraws][39], string);
	PlayerTextDrawShow(playerid, Player[playerid][pTextdraws][39]);

	Player[playerid][pShowFooter] = true;
	Player[playerid][pFooterTimer] = SetTimerEx("HidePlayerFooter", time, false, "d", playerid);
}

Код:
test.pwn(12202) : warning 213: tag mismatch
test.pwn(12202) : error 001: expected token: ",", but found "["
test.pwn(12202) : error 029: invalid expression, assumed zero
test.pwn(12202) : warning 215: expression has no effect
test.pwn(12202) : error 001: expected token: ";", but found "]"
test.pwn(12202) : fatal error 107: too many error messages on one line

4 Errors.
Reply
#2

Hey, So I see that your not getting any "Undefined Errors", means you probably did the enums correctly. I'll do this on my pawno and tell you if I get any solutions!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)