v3.0.1 patch
Pay by cash or card, one language setting and update notices
5changes

Pay by cash or card, one language setting and update notices
5changes

[02] Release
A small update. Players choose cash or card at the pump, one line in server.cfg sets the language of every Quasar script, the server console tells you when a new version is out, and the delivery boss option no longer shows on other peds.
config.lua: Config.FuelPaymentMethods = { cash = true, bank = true }. If you keep your old file, the pump only accepts cash — add the setting to offer card payments too.Config.Language now reads GetConvar('qs:locale', 'en'). Your old Config.Language = 'xx' line still works.Replace every file in the resource, except what you edited yourself:
qs-fuelstations/fxmanifest.lua — the version number.qs-fuelstations/config.lua — the new FuelPaymentMethods setting and the qs:locale language option. If you edited it, copy your changes onto the new file.qs-fuelstations/client/modules/pump.lua — the payment choice at the pump.qs-fuelstations/client/modules/job.lua — the delivery boss target fix.qs-fuelstations/server/main.lua — charges the account the player chose.qs-fuelstations/server/version.lua — the new update checker.qs-fuelstations/utils/utils.lua — shared payment helpers.qs-fuelstations/locales/* — new payment lines in all 41 languages. Re-apply any translation you edited.qs-fuelstations/web/* — the pump screen with the payment selector.Players choose how to pay right on the pump screen, and the pump remembers their last choice. Pick which methods are accepted with the new Config.FuelPaymentMethods setting.
Add setr qs:locale "es" to server.cfg to set the language of every Quasar resource in one line. Config.Language still works as before.
At start-up the server console shows your version, the latest one and whether you are up to date. When a new version is out it lists what changed, how important it is and where to download it.
"You paid X in cash" and "You paid X by card" confirm every refuel.
With ox_target or qb-target, "Talk to the boss" appeared on any ped using the same model as the delivery job foreman. It now only appears on the foreman himself.