Jump to content

speed vehicle problem


Recommended Posts

Hi everyone.!

well, i dont have problem with script, just one thing

i have this

    sx, sy, sz = getElementVelocity (getPedOccupiedVehicle(localPlayer)) 
        speed = math.floor(((sx^2 + sy^2 + sz^2)^(0.5))*180)  

show speed by drawtext

but the problem is, is 100% sync with real speed of cars

for example, infernus max velocity is 198 kph

but with this infernus show 221 kph

how i can do to fix it? if someone know helpme please

thanks :)

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...