22.05.2017, 06:32
(1259
: warning 213: tag mismatch
(1259
: error 028: invalid subscript (not an array or too many subscripts): "vSpeedBox"
(1259
: warning 215: expression has no effect
(1259
: error 001: expected token: ";", but found "]"
(1259
: error 029: invalid expression, assumed zero
(1259
: fatal error 107: too many error messages on one line
: warning 213: tag mismatch(1259
: error 028: invalid subscript (not an array or too many subscripts): "vSpeedBox"(1259
: warning 215: expression has no effect(1259
: error 001: expected token: ";", but found "]"(1259
: error 029: invalid expression, assumed zero(1259
: fatal error 107: too many error messages on one lineКод:
forward speedinfotd(playerid);
public speedinfotd(playerid)
{
new String [ 30 ];
new Float:X;
new Float:Y;
new Float:Z;
GetVehicleVelocity(GetPlayerVehicleID(playerid),X,Y,Z);
format(String,150,"~W~~Y~%d",floatround(floatsqroot(X * X + Y * Y + Z * Z) * 200.0000));
(Line: 12598) TextDrawSetString(playerid, vSpeedBox[playerid], String);
return 1;
}


