
Descriere
# [FREE] juergen_fireext - Interactive Fire Extinguishers
Tired of players magically pulling fire extinguishers out of their pockets? **juergen_fireext** is a lightweight, fully optimized script that allows players to physically grab fire extinguishers straight from the map props scattered around Los Santos, and return them when they are done.
This script was built with performance and security in mind, featuring zero server lag and built-in anti-cheat protections.
## ✨ Features
* **Framework Agnostic:** Completely plug-and-play. No QB-Core or ESX dependencies required—it runs purely off `ox_inventory`.
* **Highly Optimized:** Runs at `0.00ms`. Uses purely client-side target checks to prevent unnecessary server callbacks.
* **Anti-Farm / Exploit Proof:** Server-side coordinate tracking ensures a player cannot grab multiple extinguishers from the same empty prop, and modders cannot trigger the event to spawn infinite items.
* **Immersive Animations:** Utilizes `ox_lib` progress circles with built-in grabbing animations and player movement locking to prevent abuse.
* **Fully Configurable:** Easily change the interaction distance, item names, and add/remove specific map props via the `config.lua`.
## 📦 Dependencies
Ensure you have the following installed and running on your server before starting this resource:
* [ox_lib](https://github.com/overextended/ox_lib)
* [ox_target](https://github.com/overextended/ox_target)
* [ox_inventory](https://github.com/overextended/ox_inventory)
## 🛠️ Installation
1. Download the latest version from the repository.
2. Extract the `juergen_fireext` folder into your server's `resources` directory.
3. Ensure the folder name is exactly `juergen_fireext` (remove any `-main` tags if downloaded from GitHub).
4. Add `ensure juergen_fireext` to your `server.cfg` (make sure it starts *after* your ox dependencies).
5. Open `config.lua` to adjust settings to your liking.
6. Restart your server!
## ⚙️ Configuration Preview
```lua
Config = {}
-- The item name given to the player
Config.ItemName = 'weapon_fireextinguisher'
-- How close the player needs to be to interact with the prop
Config.TargetDistance = 2.0
-- List of map props that can be interacted with
Config.Props = {
`prop_fire_exting_3a`,
`prop_fire_exting_1a`,
`prop_fire_exting_1b`,
`prop_fire_exting_2a`,
`sf_int3_extinguisher_box001`,
`w_am_fire_exting`,
`sf_int3_extinguisher_box`
}
📝 License
This project is completely free and open-source. Feel free to fork, modify, and improve it!
Please do not resell or profit off of this script as it is my creation.
Jürgen
Just a small dev, making small things








