View Full Version : SAMP consumption fuel.

14/02/2015, 08:00 PM
Hello !

I watched a video but I do not know how to do to make something similar (or almost).

https://www.youtube.com/watch?v=hWHM90RYqjg < Link.

For now I have nothing , no mileage system, no fuel consumption system , nothing.

I want to arrive at the same result as the video, but being lost I do not know how.

Where do I start?

One kilometer system?

How do I do ?


Thanks !

14/02/2015, 08:22 PM
Start with a distance traveled.
Then find out how much fuel the specific vehicle burns in real life (search for the model) per 100m, divide it by 60 to see how much fuel it consumes per second.
Then take take a test drive with the vehicle in-game and listen to the engine sound, by the sound try to find how much fuel burn every second (apporoximately) and display it on the screen.

The distance traveled is seperated, it just displays how much you drove.

14/02/2015, 08:28 PM
I do not even system to determine the distance that a vehicle ...

14/02/2015, 10:05 PM
I managed to obtain the consumption / 100 km.

How to be in reality when we are at constant speed, decrease consumption?

Sorry for my english ^^

15/02/2015, 11:48 AM
UP, please