Jump to content

[Help]tonumber problem


3B00DG4MER

Recommended Posts

hello,today I've made speedometer

But there is one Problem,The Health of vehicle has number too long,how do i let it small like 500

        health = getElementHealth(getPedOccupiedVehicle(localPlayer)) 
                dxDrawText(""..tonumber(health).."",x*0.0125,y*0.85,x*0.5475,y*0.606666667,tocolor(0,255,0,255),1.3,Digital,"right","top",false,false,false) 

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...