Skip to content

10% off shop orders, applied at checkoutBlack Friday: 30% off until Dec 1Server templatesServer templates

RPScripts

FiveM Admin Tools

RedM Safe Zone Script FiveM resource preview

RedM Safe Zone Script

Checked by the RPScripts Lab

  • Static check: 1 resource read
What was checked
Check compatibility with your server

Details

Dependencies
LRP_Notify
File size
37 kB
Licence and support terms
  • Licence: for your own server or project. No resale or sharing.
  • Updates: when a newer file is available, it appears in your account downloads.
  • Support: download access and product-specific setup questions.
Licence and support terms

Description

RedM Safe Zone Script adds protected no-fighting areas to a RedM server. You define each zone by name, coordinates and radius, and players who are inside a zone see its name on screen and cannot use a set of combat controls.

Features

  • Zones defined by name, position and radius in config.lua; the preset zones are Clothes Shop, Stable Horse, Changing Room and Job Area, and you can add your own
  • A banner with the zone name appears on screen while the player is inside the zone and disappears when the player leaves
  • 13 control actions are disabled inside a zone
  • A “NO FIGHTING IN THIS ZONE” notification is shown when combat is detected in a zone
  • Optional god mode inside zones with AFU.IsGodModeInSafeZone, off by default
  • Debug mode with AFU.DebugMode draws a marker for the zone you are in

Requirements

  • RedM (the manifest targets rdr3)
  • No framework required
  • A resource named LRP_Notify that provides DisplayLeftNotification, or replace that call in client.lua with your own notification

Installation

  1. Copy the AFU_SAFEZONE folder into your resources folder.
  2. Add ensure AFU_SAFEZONE to your server.cfg.
  3. Replace the preset zones in config.lua with your own coordinates and radii.
  4. The zone banner text is in html/script.js and is written in Thai; edit it to change the language.

Server setup

Step-by-step guide: how to install a FiveM script

Checked: the only resource of this download.

In your downloads
  • Jobs Creator official screenshot 1
    • ESX
    • QBCore, Qbox
    Not for your framework

    Jobs Creator 8.16.8

    Jaksam

    $60.00$42.00
  • CodeM Admin Menu
    • ESX
    • QBCore
    Not for your framework

    CodeM Admin Menu

    CodeM

    $8.00$5.60
  • WaveShield V4 Anti-Cheat FiveM resource preview

    WaveShield V4 Anti-Cheat

    WaveShield

    $14.49$10.14
  • Advanced FPS Booster FiveM resource preview
    • Standalone

    Advanced FPS Booster

    17Movement

    $5.00$3.50
  • Anti CombatLog FiveM resource preview
    • QBCore
    • Qbox
    Not for your framework

    Anti CombatLog

    Lambra

    $5.00$3.50
  • Doors Creator FiveM resource preview
    • ESX
    • Standalone, QBCore, Qbox

    Doors Creator

    Jaksam

    $50.00$35.00
  • FiveM Safezone Script
    • ESX
    • QBCore
    Not for your framework

    Safezone Script

    $5.00$3.50
  • Admin Jail Script FiveM resource preview
    • ESX
    • QBCore, Qbox
    Not for your framework

    Admin Jail Script

    AdminPlus

    $15.00$10.50