I want speedometer miles please.
#1

Reply
#2

Dump
Reply
#3

GetVehicleSpeed(vehicleid)
{
new Float:vx, Float:vy, Float:vz, Float:vel; // vehicle x y z
vel = GetVehicleVelocity(GetPlayerVehicleID(playerid), vx, vy, vz); // pythagoras square
vel = (floatsqroot(((vx*vx)+(vy*vy))+(vz*vz))* 181.5); // pythagoras square root vel * by magic number 181.5 by pottus
return vel; // vel is rounded anddnow return it
}

...(%i speed, vel)


There's 0.6 miles in 1 km, you do the maths.
Reply
#4

I want textdraw in image and code ..
Reply
#5

Quote:
Originally Posted by Charisma
Посмотреть сообщение
I want textdraw in image and code ..
You want a lot of stuff, go and search for all of that by yourself.
Reply
#6

please i want small speedo miles textdraw
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)