[FREE] ⚠️ fanca_safezone - Create Safe Zones with ease

:warning: fanca_safezone - Create Safe Zones with ease

Enhance your FiveM server’s gameplay with fanca_safezone, providing seamless control over various gameplay aspects within designated safezones.

Download

Documentation | Report a Bug

About The Resource

This script is a powerful resource that makes your life easier!
It allows you to create as many “safe zones” as you want with different configurations.
It is optimized as much as possible and is easily editable, visit the documentation to understand it better!

Features

Explore the possibilities and tailor your server experience with these powerful features:

  • Collision Management: Enable/Disable collisions between peds and vehicles, or both, as per your server’s requirements.
  • AFK Handling: Implement an AFK system with customizable notifications, allowing players to stay engaged or face automatic kick after specified AFK duration in the safezone.
  • Combat Restrictions: Empower server owners to enable/disable player punching and shooting within the safezone, fostering a controlled environment for interactions.
  • Speed Limit Control: Set a maximum vehicle speed within the safezone (in mph or km/h), promoting safer driving experiences.
  • Jumping Control: Decide whether players can jump inside the safezone, adding realism and context to their actions.
  • Weapon Management: Flexibly control the ability to equip any weapon while inside the safezone, providing a tailored roleplay experience.
  • Vehicle Management: Grant or revoke the privilege of using vehicles within the safezone, allowing fine-tuned gameplay control.
  • Player Activity Log: Keep track of player entries and exits within the safezone with server-side logging.
  • In-Game Notifications: Inform players when they enter or exit a safezone, enhancing their immersion and awareness.
  • As many zones as you want: You can create as many zones as you want, where you want and with the settings you want. In fact, you will be able to define the types of zones and subsequently the positions of the zones with their own typology.

Remember that anything is possible, as long as you want to do it! Add new features using the examples you already find in the resource.

Dependencies

The OX Lib resource is needed for the script to work.

Install

  1. Download the latest released version of the resource from here.
  2. Extract the contents of the archive (the fanca_safezone folder) into your resources folder.
  3. Add start fanca_safezone in your server.cfg.

Config

You can find detailed config info here.

Example:

Enjoy my first published resource!

6 Likes

:chart_with_upwards_trend: Huge resource update, new version: v1.1.0

  • Revisited the whole collision system;
  • Optimized certain things of the resource;
  • improved many features that already existed.

Added new features :orange_book::

  • Outside players cannot damage players in the safezone if ghost mode is activated
  • Disable idle cam;
  • Disable drive by;
  • Disable volume steps (player and other peds);
  • Change character speed (player and other peds);
  • Make entities invincible:
    • vehicles;
    • peds;
  • Lock vehicles automatically.

Re-tested the resmon with all available options enabled and 21 vehicles in the zone:

These updates are available from v1.1.0 onwards, download it from here.

Thanks to @frostfirefury54 for testing the resource and for reporting some bugs.

Good script!