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.DebugModedraws a marker for the zone you are in
Requirements
- RedM (the manifest targets
rdr3) - No framework required
- A resource named
LRP_Notifythat providesDisplayLeftNotification, or replace that call inclient.luawith your own notification
Installation
- Copy the
AFU_SAFEZONEfolder into your resources folder. - Add
ensure AFU_SAFEZONEto yourserver.cfg. - Replace the preset zones in
config.luawith your own coordinates and radii. - The zone banner text is in
html/script.jsand is written in Thai; edit it to change the language.