Jump to content

After 10k mileage tires blow up.


DzMG-LV

Recommended Posts

So i want make for my RP server script when you drive 10k miles, tire's will blow up. Sometimes front left/right, sometimes rear right/left for that i will use math.random function. But how can i make when exactly you have driven 10k miles the tire will blow?

Use

  
getElementPosition() 
setTimer() 
  

This won't give you the most precise mileage (should be smaller than the actual number), but it also won't cause any lag

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