05.07.2014, 22:55
Tou com um problema no velocimetro quando vou compilar.
pawn Код:
new.pwn(242) : error 028: invalid subscript (not an array or too many subscripts): "Velocimetro"
warning 215: expression has no effect
new.pwn(242) : error 001: expected token: ";", but found "]"
new.pwn(242) : error 029: invalid expression, assumed zero
new.pwn(242) : fatal error 107: too many error messages on one line
4 Errors.
pawn Код:
public OnPlayerUpdate(playerid)
{
new String[80];
format(String, sizeof(String),"KM/H: %d",GetPlayerSpeed(playerid));
TextDrawSetString(Velocimetro[playerid],String); -------------- linha 242
return 1;
}