Redzones

[Description]
The Redzone script introduces dynamic redzones to your FiveM server, offering two unique competitive modes that encourage PvP interaction and reward player skill.
[Features]
- Custom Redzones
- Multiple redzones can be defined on the map.
- Each redzone has configurable position, radius, type (Domination or Elimination), and objectives.
- Zones can be dynamically added, modified, or removed via config.
- Domination Mode
- Only one player can dominate the zone at a time.
- Players must stay inside the zone for a configurable duration to complete domination.
- Progress resets if the player leaves the zone before the timer finishes or dies.
- Once domination is complete, the player becomes eligible to claim rewards from the NPC.
- Elimination Mode
- Players must eliminate opponents inside the redzone.
- Kills are only counted if they occur within the zone boundaries.
- Configurable kill count requirement before eligibility for rewards.
- Once the requirement is met, the player must interact with the NPC to claim their prize.
- NPC Reward System
- Dedicated NPC for reward collection.
- Interaction available only if domination or elimination objectives are completed.
- Rewards are fully configurable (money, items, weapons, etc.)
- Notifications & Feedback
- Progress notifications (time remaining or kills left).
- Server-Side Management
- Objective tracking synchronized across all players.
- Anti-exploit checks for kills and zone progress.
- Supports logging of redzone rewards for admin review.
[Dependencies]
- Server version must be 7290 or higher
- Onesync Legacy or Onesync Infinity
[Optimization]
- Runs at 0.00 - 0.01 ms when idle
- Runs at 0.01 - 0.02 ms when active
[Editable Files]
- cfg/cfg.lua
- cfg/cfg_logs.lua
- server/functions.lua
[This package contains]
- core_pvp_redzones
[Documentation & Discord]
- Documentation can be found here : https://nuno-radio-man.gitbook.io/docs
- Join our discord for support : https://discord.gg/9Pt2RXRdbk
