SAMP consumption fuel.
#1

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 !
Reply
#2

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.
Reply
#3

I do not even system to determine the distance that a vehicle ...
Reply
#4

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 ^^
Reply
#5

UP, please
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)