I am trying to script a fuel and refueling script but don’t know where to start. Could somebody please tell me where to start and the key aspects used in a script like this? I am also trying to have a gas pump so when you press a letter, it will refuel. The aim is to do a refueling script like Emergency Response: Liberty County made by @mrfergie
All comments and help are appreciated.
NB: I am not asking for a script but just some reference points to help and the key aspects used.
They probably use an int value as a percentage to fill up the fuel, and divide the car’s fuel by 100 to get the amount the gui has to be filled, something like this: