17.03.2015, 19:46
Oh, it seems one of us misplaced a parentheseseseses (no idea how this is spelled in singular form).
pawn Код:
public Speedometer(playerid) {
GetVehicleVelocity(GetPlayerVehicleID(playerid), sv[0], sv[1], sv[2]);
sv[3] = floatsqroot(sv[0]*sv[0]+sv[1]*sv[1]+sv[2]*sv[2]) * 181.5;
format(fquery, sizeof(fquery), "Vehicle: %s~n~Speed: %i KPH", GetVehicleNameFromModel(GetPlayerVehicleID(playerid)), floatround(sv[3], floatround_round));
PlayerTextDrawSetString(playerid, Speedo[playerid], fquery);
return 1;
}