
Beschrijving
🛡️ Free FiveM safe zone system with high-precision polygon detection, vertical height support, immersive notifications, restricted actions and configurable job whitelist.
SafeZone is a free RP security script designed to create believable protected areas for hospitals, police stations, gendarmeries, courts, city halls and public event zones.
🌐 Description
SafeZone is a free FiveM RP protection system built to provide secure areas where violence, weapons and disruptive gameplay are automatically restricted.
Unlike basic circular zones, the script uses a more precise 4-point polygon detection system with vertical height handling, making it more reliable on slopes, rooftops and multi-level environments.
This makes it ideal for:
- Hospitals
- Police stations
- Gendarmeries
- Courts
- City halls
- Public event zones
✨ Main Features
📐 Precise Zone Detection
- Zone definition using 4 custom points
- Supports square and rectangular zone layouts
- 2D + vertical detection for better reliability
- Reduces common exploits related to terrain height and buildings
🎨 Visual Zone Display
- Discrete ground corner and border display
- Configurable color and transparency
- Built to stay readable without breaking immersion
🔔 Immersive Notifications
- ox_lib enter notification
- Persistent reminder while inside the safe zone
- Exit notification when leaving the area
⛔ Automatic Action Blocking
- Shooting disabled
- Weapons blocked
- Melee combat disabled
- Vehicle damage blocked
- Mounted / vehicle weapons neutralized
🛂 Job Whitelist Support
- Fully configurable job whitelist
- Supports police, gendarmerie, BSPP, SAMU, customs and more
- Can be adapted to your own server structure
🔌 Useful Exports
exports('IsInSafeZone')exports('GetCurrentZoneName')
🕹️ Included Commands
/getcoords— Get coordinates for zone setup/safezones— Show nearby zones/togglesafezone— Enable or disable all zones/reloadsafezones— Reload config (admin)/forcetogglezones— Global ON/OFF (admin)/safezonestats— View safe zone stats
🛡️ Server-Side Security
- Server-side job verification
- Validation of blocked actions
- Console event logging
⚡ Optimized Script
- Adaptive threads
- Smooth detection logic
- Low-consumption markers
🔧 Dependencies
ox_lib- ESX or QBCore
🚀 Installation
- Download the script
- Place it inside your
resourcesfolder - Add
ensure safezoneto yourserver.cfg - Install ox_lib
- Configure your zones inside
config.lua - Restart the resource
📂 Simple Configuration
Each zone is defined with 4 points and a height value:
{
name = "Hospital",
points = {
vector3(x1, y1, z1),
vector3(x2, y2, z2),
vector3(x3, y3, z3),
vector3(x4, y4, z4),
},
height = 25.0
}💚 Free Resource
This script is free. It is designed as a high-quality RP utility for your server and a clean introduction to the SpeXtrum ecosystem.
📜 License
- Free to use on RP servers
- Resale forbidden
- Redistribution forbidden
- Credit to speXtrum Development appreciated
🧑💻 Development
Developed by speXtrum Development
Less scripts — more quality.
🌐 Discord: discord.gg/spex

speXtrum
SpeXtrum est un studio français spécialisé dans la création de systèmes premium pour FiveM & RedM, aujourd’hui classé Top 7 créateurs sur TopV.gg. Nous concevons des ressources pensées pour une seule chose : 👉 donner à ton serveur une identité forte, immersive et crédible. Ici, chaque script est conçu comme un produit fini : design, performance, cohérence RP — rien n’est laissé au hasard. ⸻ 📊 Chiffres réels (preuve concrète) ✔️ Top 7 créateurs TopV ✔️ + 1 500 votes ✔️ ⭐ 5.0 / 5 (100% satisfaction) ✔️ 26+ ressources actives 📦 Données Tebex (réelles) : ✔️ 102 téléchargements ✔️ 84 clients uniques 👉 Traduction concrète : Des serveurs réels utilisent déjà SpeXtrum en production, avec un taux de satisfaction parfait. ⸻ 🚀 Ce qui fait la différence SpeXtrum 🔹 Approche premium Pas de scripts “vite faits”. Chaque système est pensé pour durer. 🔹 UI / UX immersive Interfaces modernes, fluides, cohérentes avec le RP (NUI optimisé). 🔹 Compatibilité complète ESX • QBCore • Qbox • ox_lib • ox_inventory • qs-* 🔹 Performance réelle Testé en conditions live, optimisé serveur. 🔹 Support & proximité Présence active, écoute client — validé par les retours Discord. ⸻ 🧩 Catalogue 🎯 +26 systèmes couvrant : * 💼 Jobs & entreprises * 💰 Économie & gestion * 🔫 RP illégal / légal * 🧠 Outils & systèmes avancés * 🎁 Expériences uniques (Rewards, GPS, Buyback…) 👉 Bundles complets disponibles pour construire un serveur de A à Z. ⸻ ⭐ Avis clients 💬 “Travail incroyable, interface moderne et parfaitement optimisée.” 💬 “Script exceptionnel, fonctionnel et configurable.” 💬 “Très réactif et impliqué, je recommande.” 👉 Une communauté active + feedback constant ⸻ ⚡ Pourquoi choisir SpeXtrum ? Aujourd’hui, un serveur RP ne se démarque plus avec des scripts basiques. 👉 Il se démarque avec : * une expérience cohérente * une identité visuelle forte * des systèmes immersifs C’est exactement ce que SpeXtrum construit.








![Music System Source Code [ESX, QB, QBOX, STANDALONE]](https://dunb17ur4ymx4.cloudfront.net/packages/images/e1d125329dffc6baeb1e910de314a0b8c0ae9045.png)
