Description
[videos]
[youtube]https://youtu.be/sKomYHBtmlw[/youtube]
[/videos]
Medical Recovery & Hospital Treatment System
[ESX / QBCore / Qbox
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📌 OVERVIEW
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
FS Tranquilizer is an advanced medical recovery resource for FiveM servers that want realistic RP after death.
Instead of a simple instant revive, players can be injected with a tranquilizer kit, transferred into hospital treatment, placed through an operation scene, and moved into recovery with synced timers, bed placement, hospital queues, and persistent state.
Perfect for serious RP servers that want immersive medical gameplay, controlled hospital scenes, and an easy in-game setup system.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✨ KEY FEATURES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✅ Tranquilizer Injection System
Use a target-based “Inject Tranquilizer” interaction on dead players and move them into the treatment flow.
✅ Complete Hospital Treatment Flow
Includes queue, operation, and recovery stages for a full medical RP experience.
✅ Operation & Recovery Bed Scenes
Patients are placed on configured hospital beds with controlled animation, heading, and placement logic.
✅ Server-Side Synced Configuration
Hospitals, beds, timers, offsets, overlay settings, and runtime values are synced from the server for everyone.
✅ Hospital Queue System
If operation or recovery beds are full, patients are automatically placed into a queue until a bed becomes available.
✅ Persistent Treatment State
Treatment state and timers can persist using database-backed runtime logic.
✅ In-Game Admin Configuration
Configure hospitals, beds, medics, timers, permissions, debug tools, overlay layout, and bed offsets directly in-game.
✅ Custom Hospital Support
Add custom hospitals with operation beds, recovery beds, anchors, and medic NPC positions.
✅ Bed Prop Calibration
Tune Z offset, heading offset, and target radius for each bed prop model.
✅ Register Test Target Mode
Test bed placement live before using the setup on real players.
✅ Configurable Patient Overlay
Includes a NUI overlay for treatment stage, timer, and recovery information.
✅ Multi-Language Support
Includes English, Arabic, German, Spanish, French, and Portuguese locale files.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎮 COMMANDS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
/fs_tranquilizer
Open the in-game admin configuration menu.
Admin access required.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙️ CONFIGURATION HIGHLIGHTS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💉 Tranquilizer Item: tranquilizer_kit
⏱ Injection Time: Configurable
🏥 Operation Time: Configurable
🛏 Recovery Time: Configurable
📍 Custom Hospitals: Supported
🧑⚕️ Medic NPCs: Supported
🛏 Operation Beds: Supported
🛌 Recovery Beds: Supported
🎯 Bed Prop Detection: Supported
📐 Z Offset & Heading Offset: Configurable
🔁 Queue System: Included
🐞 Debug Mode: Included
🎨 Overlay Layout: Configurable
🌍 Multi-Locale Support: Included
🔐 ACE Permission: Supported
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🚑 AMBULANCE BRIDGE SUPPORT
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✔ ESX Ambulance Job
✔ QB Ambulance Job
✔ Wasabi Ambulance v1
✔ Wasabi Ambulance v2
✔ AK47 Ambulance Job
✔ TK Ambulance Job
✔ P Ambulance Job
✔ Native fallback bridge
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📦 INVENTORY ITEM SUPPORT
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✔ OX Inventory item snippet included
✔ QB Core item snippet included
✔ ESX SQL item snippet included
✔ AK47 Inventory item snippet included
✔ Tranquilizer item image included
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔐 ADMIN ACCESS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Supports:
✔ ACE Permissions
✔ Extra editor access from runtime config
Example ACE:
add_ace identifier.xxxxxxxxxxxxxxxx "fs_tranquilizer.admin" allow
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🧩 DEVELOPER EXPORTS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Server Exports:
exports.fs_tranquilizer:forcetranquilizer(targetSource)
exports.fs_tranquilizer:forceendtranquilizer(targetSource)
exports.fs_tranquilizer:isplayerintranquilizer(targetSource)
Client Exports:
exports.fs_tranquilizer:isplayerintranquilizer()
exports.fs_tranquilizer:isplayerintranquilizer(targetSource)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🛠 REQUIREMENTS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✔ fs_link
✔ oxmysql
✔ Supported ambulance bridge or included native fallback
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📦 INSTALLATION
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
1. Drag & drop resource
2. Ensure fs_tranquilizer is installe
3. Install the item snippet for your inventory
4. Add ACE permission if needed
5. Restart server
6. Open /fs_tranquilizer and configure hospitals, beds, timers, permissions, and offsets
7. Done ✔
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📌 NOTES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✔ Optimized & lightweight
✔ Server-side synced runtime configuration
✔ RP-friendly medical recovery design
✔ Supports custom hospitals and custom bed props
✔ Supports operation and recovery scenes
✔ Includes register-test mode for bed placement tuning
✔ Works with multiple ambulance systems
✔ Easy to configure from the in-game admin menu
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🛠 SUPPORT
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
If you need help with setup, customization, or integration, support is provided through Discord / Tebex tickets.
💬 Discord Support: Link
📚 Documentation: Link
🛒 Store: Link
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Note: Script uses Tebex FiveM escrow system
