FREE SCRIPTS

JH SAFEZONE

JH SAFEZONE

Give your community protected spaces with JH SAFEZONE, a safe zone system for FiveM that lets you create, customize, and manage areas directly in-game.

Designed for roleplay servers, it brings together a visual editor, free-camera placement, configurable protection, and persistent database storage. Create designated safe areas around hospitals, spawn locations, businesses, public squares, and other community spaces.

Custom Zones That Fit Your Map

Build each zone by placing points around the area you want to protect. Polygon-based boundaries let you follow the shape of streets, buildings, and plazas with precise control over the perimeter.

Set minimum and maximum heights for each zone to define its vertical coverage and avoid unintentionally affecting other floors.

In-Game Visual Editor

Manage your zones through the /safezone command. Authorized administrators can create zones, edit their boundaries, rename them, enable or disable them, and remove them when needed.

Choose from multiple point-placement methods:

  • Free camera: move through the air and mark boundaries from an elevated perspective.
  • Walking mode: walk around the area and place points from ground level.
  • Current position: add a point at your character’s location.
  • Manual coordinates: enter precise positions to fine-tune the perimeter.

A polygon preview and 3D editing guides help you check each zone’s shape before saving.

Configurable Combat Restrictions

The system can prevent players inside safe zones from shooting, aiming, using melee attacks, selecting weapons, and attacking from vehicles.

Players are kept unarmed while inside the protected area without removing weapons from their inventory. Optional invincibility provides additional protection while they remain inside the zone.

Combat restrictions and player protection can be configured to suit your server.

Clear On-Screen Notifications

A dedicated HUD lets players know when they are inside a safe zone and disappears when they leave.

The display includes branding, animated borders, and a configurable entry sound, making protected areas easy to recognize.

Persistent Storage and Synchronization

Zones are stored in MySQL and restored after resource or server restarts. Changes made through the editor synchronize with connected players, so administrators do not need to recreate zones every session.

Restricted Administration

Editor access is controlled through an administrator license allowlist. Requests to create, update, or delete zones are checked on the server.

The system also validates coordinates, zone size, height limits, and intersecting polygon edges to help prevent invalid zone configurations.

Key Features

  • Custom polygon-shaped safe zones.
  • Administrative editor accessible through /safezone.
  • Free-camera and walking placement modes.
  • Current-position and manual-coordinate placement.
  • Visual boundary previews during editing.
  • Minimum and maximum height settings per zone.
  • Create, edit, enable, disable, and delete zones.
  • Configurable weapon and combat restrictions.
  • Optional player invincibility inside safe zones.
  • Safe zone HUD with an optional entry sound.
  • Persistent MySQL storage.
  • Synchronization with connected players.
  • License-based administrator access without ACE permissions.
  • Editable configuration files.

Compatibility and Requirements

The safe zone system operates independently of the framework and uses oxmysql for database storage. It does not require ox_lib or ox_target.

Servers running custom damage, weapon, or invincibility resources may require compatibility adjustments.

What’s Included

The JH SAFEZONE resource, administrative interface, safe zone HUD, configuration files, SQL files, and English documentation.

The thumbnail is promotional artwork. The shield and barrier effects shown are not included in-game effects.

JH SHOPY — Customize your server’s safe zones and manage their protection from one panel.

$0.00