SA-MP Forums Archive
Error 001/029 - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Error 001/029 (/showthread.php?tid=557190)



Error 001/029 - Ejected - 13.01.2015

Код:
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.



Re: Error 001/029 - AAleks123321 - 13.01.2015

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!