15.09.2010, 19:48
hi, well i was following that tutorial on how to make a speed meter and stuff
i got it correct and i changed the position to what i wanted but how can i change the size?
code under the image:
help
i got it correct and i changed the position to what i wanted but how can i change the size?
code under the image:
Код:
new vehicleid,Float:speed_x,Float:speed_y,Float:speed_z,Float:final_speed,speed_string[256],final_speed_int; vehicleid = GetPlayerVehicleID(playerid); if(vehicleid != 0) { GetVehicleVelocity(vehicleid,speed_x,speed_y,speed_z); final_speed = floatsqroot(((speed_x*speed_x)+(speed_y*speed_y))+(speed_z*speed_z))*136.666667; final_speed_int = floatround(final_speed,floatround_round); format(speed_string,256,"~g~S~r~p~y~ee~r~d: ~w~%ikm",final_speed_int); //~g~for green TextDrawSetString(SPEEDOS[playerid], speed_string); } else { TextDrawSetString(SPEEDOS[playerid], " "); } return 1; }