New scripts in store – check out our latest releases!

No top donator yet.

alexis-1922
alexis-1922
Tue 06:52
SebasMvp
SebasMvp
Tue 03:45
Aphrodia
Aphrodia
Mon 15:38
NOVEX_CITY
NOVEX_CITY
Sat 20:43
NOVEX_CITY
NOVEX_CITY
Sat 20:40
alexis-1922
alexis-1922
Tue 06:52
SebasMvp
SebasMvp
Tue 03:45
Aphrodia
Aphrodia
Mon 15:38
NOVEX_CITY
NOVEX_CITY
Sat 20:43
NOVEX_CITY
NOVEX_CITY
Sat 20:40
Top
Community Service

Community Service

9.99 USD
Add to Cart
Top
Payment Terminal

Payment Terminal

14.99 USD
Add to Cart
Top
Policetools

Policetools

14.99 USD
Add to Cart
Top
CHAT

CHAT

8.99 USD
Add to Cart
Top
Minimal Chat

Minimal Chat

8.99 USD
Add to Cart
Pump gas Prop
Thumbnail 1
Thumbnail 2
Thumbnail 3
Thumbnail 4

Pump gas Prop

Total Price
USD 9.99
Accepted payments
  • Apple Pay
  • Google Pay
  • Mastercard
  • Visa
  • American Express
Any questions? Discord

Overview

Detailed features and information

Two unbranded vintage gas pumps for RedM with a hose and a nozzle the player can actually use. Walk up to the pump, use the native prompt, and the nozzle goes to your hand while the hose follows it from the pump. Use the prompt again to hang it back.

Standalone and client-side only. No framework is required.

Included props

| Prop name | What it is | Place it on the map? |

| `ys_pump_gas_clasico_base` | Classic pump **without** hose: the script adds the hose and enables the prompt | **Yes, use this one for the working nozzle** |

| `ys_pump_gas_visible_base` | Visible pump **without** hose: the script adds the hose and enables the prompt | **Yes, use this one for the working nozzle** |

| `ys_pump_gas_clasico` | Classic pump with hose and nozzle modelled in (decoration only, no prompt) | Optional, decoration |

| `ys_pump_gas_visible` | Visible pump with hose and nozzle modelled in (decoration only, no prompt) | Optional, decoration |

| `ys_pump_gas_clasico_manguera` | Hanging hose + nozzle for the classic pump | No, spawned by the script |

| `ys_pump_gas_visible_manguera` | Hanging hose + nozzle for the visible pump | No, spawned by the script |

| `ys_pump_gas_boquilla` | Nozzle held in the player's hand | No, spawned by the script |

| `ys_pump_gas_tramo` | Hose segment used to draw the hose to the hand | No, spawned by the script |

**Important:** the prompt only appears on the **`_base`** props (`ys_pump_gas_clasico_base` and `ys_pump_gas_visible_base`). The props without `_base` are static decoration.

1. Place `ys_pump_gas_clasico_base` or `ys_pump_gas_visible_base` with your map or object placement tool.

2. When a player comes within about 40 m, the script hangs that pump's hose and nozzle on it.

3. Standing within ~1.8 m of the nozzle side (the pump's left side as you face its front), the native prompt **"Coger la boquilla"** (take the nozzle) appears under the group **"Surtidor"**.

4. Using the prompt takes the hanging hose off the pump and puts the nozzle in the player's right hand. A hose (3.5 m) is drawn from the pump's fitting to the nozzle and sags and rests on the ground as the player moves.

5. Near the pump again, the prompt **"Colgar la boquilla"** (hang the nozzle) puts it back.

6. If the player walks more than ~3.2 m from the pump, dies, or the pump disappears, the nozzle returns to the pump automatically.

Local client events, so a fuel or vehicle script can react:

```lua

AddEventHandler('ys_pump_gas:boquillaTomada', function(pump, nozzle) end)  -- nozzle taken

AddEventHandler('ys_pump_gas:boquillaDevuelta', function(pump) end)        -- nozzle returned

```

Export:

```lua

local nozzle, pump = exports.ys_pump_gas:TieneBoquilla()  -- nil if the player is not holding it

```

Settings at the top of `client.lua` (`Config`):

- `distancia`: prompt range.

- `largo`: auto-return distance.

- `manguera.largo`: hose length.

- `mano`: nozzle position and rotation in the hand.

YOUR WISHLIST

Previous Purchases

to

Loading purchases...