Speedo
#6

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;
}
Reply


Messages In This Thread
Speedo - by Zonoya - 17.03.2015, 17:17
Re: Speedo - by Misiur - 17.03.2015, 17:25
Re: Speedo - by Zonoya - 17.03.2015, 18:43
Re: Speedo - by Misiur - 17.03.2015, 18:55
Re: Speedo - by Zonoya - 17.03.2015, 19:24
Re: Speedo - by Misiur - 17.03.2015, 19:46
Re: Speedo - by Zonoya - 17.03.2015, 20:09
Re: Speedo - by Misiur - 17.03.2015, 20:44
Re: Speedo - by Zonoya - 18.03.2015, 17:09
Re: Speedo - by SickAttack - 18.03.2015, 17:22

Forum Jump:


Users browsing this thread: 2 Guest(s)