27.03.2018, 09:53
Код:
(660) : error 028: invalid subscript (not an array or too many subscripts): "textdraw_1" (660) : warning 215: expression has no effect (660) : error 001: expected token: ";", but found "]" (660) : error 029: invalid expression, assumed zero (660) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
Код:
for(new i=0; i<MAX_PLAYERS; i++) { textdraw_1[i] = TextDrawCreate(556.000000, 337.000000, ""); TextDrawFont(textdraw_1[i], 2); TextDrawLetterSize(textdraw_1[i], 0.429166, 2.049999); TextDrawTextSize(textdraw_1[i], 400.000000, 17.000000); TextDrawSetOutline(textdraw_1[i], 1); TextDrawAlignment(textdraw_1[i], 1); TextDrawColor(textdraw_1[i], 1296911871); TextDrawBoxColor(textdraw_1[i], 50); TextDrawSetProportional(textdraw_1[i], 1); } SetTimer("sekunde",90, true); return 1; }
That is so wierd