v3.0.5 Patch
Reliable fuel sync and a single update notice
4Änderungen

Reliable fuel sync and a single update notice
4Änderungen

[02] Release
Fuel no longer resets when you change vehicles or drivers, vehicles show the right level as soon as they appear, the sync is smoother and protected on the server, and the update notice prints only once at start-up.
Replace these files, except what you edited yourself:
qs-fuelstations/fxmanifest.lua — the version number.qs-fuelstations/client/modules/fuel.lua — the new fuel sync. If you edited it, copy your changes onto the new file.qs-fuelstations/client/modules/consumption.lua — picks up the synced level when you take the wheel.qs-fuelstations/server/main.lua — only accepts fuel changes from the player in control of the vehicle, or someone next to it.qs-fuelstations/server/version.lua — the update notice prints once, at start-up.The server now only accepts a fuel change from the player in control of the vehicle, or from someone standing within 15 m of it. A client can no longer change the fuel of any vehicle on the map.
Getting into a car someone else was driving now picks up its real fuel level instead of an old one. Vehicles that come into range or are taken out of a garage show the correct level as soon as they appear.
The console message about a new version now prints a single time when the resource starts, instead of repeating every 30 minutes.
Fuel updates are no longer sent twice and the level no longer flickers while driving. Vehicles that had never shared their level now do so automatically, so every player sees the same value.