exports['if-fuel']:SetFuel(veh, 85, fuelId)
exports['if-fuel']:GetFuel(veh) -- returns the fuel count
exports['if-fuel']:GetFuelType(veh) -- returns the fuel type id
Hmmm, Idea is really good, but design is like a bit poor,
And q about fuel… lets say if car runs on Fuel 92 and u fill tank with Fuel 98 , it makes some difference? for example from real aspect if your car have disel engine and u fill gasoline its dont work, or its broken , is that efect is implomented as well in your script?
Example i want for trucks make disel fuel type, and i by mistake fill truck with gasoline - Fuel 95, my truck still goes or how it work?
I am a bit disappointed with this script. It is marked as a standalone script which I had thought meant that it works for a standalone FiveM server (a server that doesn’t use any framework at all) but rather the standalone is referring to the fact that it doesn’t use any other script to work. I recommend that you re-arrange the tags on this script so people don’t get confused about the fact that it doesn’t actually work with standalone FiveM servers being I had bought this script under the assumption it did being it was marked with the [STANDALONE] only to find out after that it does not work.
For other people looking to buy this script for their standalone FiveM server, don’t, it won’t work.
Mod creator, if you can contact me to see if changes can be made to have it actually work with my standalone FiveM server then please do so as I was looking forward to using this script only to find out that it is incompatible with mine.
Hey,
I want to add ox_target to the if-fuel script. Therefore I need the Eventname to trigger the same event like if you click on “E” at a gas station pump. Does someone know the name and can provide me?
Thanks in advance