show altitude in feet instead of meters?
#10

I use it something like this

pawn Код:
new
    Float:vx,
    Float:vy,
    Float:vz;
GetVehiclePos( vehicle, vx, vy, vz );
format( String, sizeof ( String ), " ~r~Vehicle~g~:~w~%s ~r~Health~g~:~w~%i%% ~r~MPH~g~:~w~%i ~r~KMH~g~:~w~%i ~r~Altitude~g~:~w~%i ft", aVehicleNames[ GetVehicleModel( vehicle ) - 400 ], floatround( health, floatround_round ), floatround( floatdiv( Speed, 1.609344 ), floatround_floor ), floatround( Speed, floatround_floor ), floatround ( METRES_TO_FEET( vz ) ) );
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)