Old stations & attendant

Ten country stations keep the game's old pumps: Xero Route 68 East, Senora Freeway, Sandy Shores and Paleto Boulevard, LTD Grapeseed, and Globe Oil Harmony, Route 68 East, Route 68 West, Senora Way and Panorama Drive.

No screen and no card here. The pumps keep the game's nozzle and hose, their counter drums roll with the litres and the amount, a bell rings every gallon, and fuel flows a little slower than at the modern pumps. And an attendant does the work.


The attendant

He waits by the pumps. Park your vehicle within reach of a pump, get out, walk up to him and press E to talk. He greets you, out loud and in the dialogue box, and offers:

ChoiceWhat happens
Fill it upHe fills the tank. The choice shows the fuel and its price per litre.
Pick an amountYou type an amount in dollars, and he stops there.
Fill me a jerry canHe fills a new can at his pump and brings it to you. See Jerry cans.
No thanksNothing happens.
He then walks to the pump, takes the nozzle and puts it in your car. The counters roll and the bell rings every gallon. When he's done, he hangs the nozzle back up, comes to you, and you pay him in cash, hand to hand: your character takes the notes out, he puts them in his pocket.

Every player around sees the whole scene.

Cash only

  • He only takes cash. Before he starts, the server checks that you have at least the price of a litre on you.
  • The fill stops when your cash no longer covers the next litre, so you never owe him.
  • Drive off while he fills and he stops. You pay for what went in.

Diesel only

These stations sell diesel (oldPumps.attendant.fuels). He tells you when your car runs on petrol, when it is electric, when the tank is already full, or when the station's own tank is empty. He serves one customer at a time: the next one waits.

His voice

He speaks with his own voice lines, in English like the game's characters, or in French (voice.language). The text in the box follows each player's language, like subtitles. Short lines said while you move or wait, like his "thank you", are voice only.

Without hz_lib, or with dialogue = false, he uses an ox_lib menu, his voice and notifications. With voice.enabled = false, he uses the game's generic lines.


Jerry cans

Pick Fill me a jerry can: he takes a can, sets it down at his pump, kneels and fills it while the counters roll to 20 L, then brings it to you. You pay $1,000 in cash (petrolCan.price) when he hands it over, and the can goes into your inventory.

  • You need room for it in your inventory, and the cash on you.
  • Walk away before he hands it over and nothing is charged: he keeps the can.
  • He sells new cans only. He doesn't refill the one you carry.
Turn it off with oldPumps.attendant.cans = false, or petrolCan.enabled = false for jerry cans everywhere.

Self-service

oldPumps.attendant.enabled = false removes the attendants. Players then take the nozzle themselves at the old pumps, pick the fuel, then Fill it up or Pick an amount in a menu, and pay at the end, choosing cash or bank (oldPumps.askAccount). The counters, the bell and the game's nozzle stay.


Placing an attendant

In data/stations.lua:

FieldDescription
attendant = trueAn attendant serves this station.
attendantPost = vec4(x, y, z, heading)Where he waits. Default: by the first pump.
fuels = { 'diesel' }What he sells here. Default: oldPumps.attendant.fuels.
His model, waiting scenario and voice are in Old stations & attendant in the configuration.