11.02.2013, 14:34
Hi, i keep getting an error in my line. It doesnt make sence since i made it exactly like all the others..
playerstats[playerid] = CreatePlayerTextDraw(playerid, 240.0,580.0, "hallo");
And in that 1 line it gives me 4 errors witch are:
(6207) : error 028: invalid subscript (not an array or too many subscripts): "playerstats"
(6207) : warning 215: expression has no effect
(6207) : error 001: expected token: ";", but found "]"
(6207) : error 029: invalid expression, assumed zero
(6207) : fatal error 107: too many error messages on one line
i included these things :
forward playerstats(playerid);
public playerstats(playerid)
{
TextDrawForPlayer(playerid, ShowStats);
}
playerstats[playerid] = CreatePlayerTextDraw(playerid, 240.0,580.0, "hallo");
And in that 1 line it gives me 4 errors witch are:
(6207) : error 028: invalid subscript (not an array or too many subscripts): "playerstats"
(6207) : warning 215: expression has no effect
(6207) : error 001: expected token: ";", but found "]"
(6207) : error 029: invalid expression, assumed zero
(6207) : fatal error 107: too many error messages on one line
i included these things :
forward playerstats(playerid);
public playerstats(playerid)
{
TextDrawForPlayer(playerid, ShowStats);
}