
SafeZone โ Free Safe Zone Script

์ค๋ช
๐ก๏ธ 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)
