This is a simple resource that allows users of a specific group to create mini “RP-Free” zones around them when handling issues, when testing, etc.
When enabling an admin zone, a blip is created on the map, and ONLY SHOWN to users who are currently in the admin zone, to prevent people from gathering around the area. This allows users to see the quickest way to leave the zone to continue RP. Upon leaving the zone, the blip disappears
While in an admin zone, the system prevents any user from shooting, or meleeing and displays a notification when the attempt to shoot or melee.
If a user drives too quickly while in an admin zone, the will be warned to slow down
Upon entering an admin zone, a large text notification is displayed on screen for the entire duration of being in the admin zone. This eliminates any excuse of ignorance, as it is literally right in the user’s face.
This script is performance optimized. I have coded it in such a way that if there are NO ADMIN ZONES, then there are NO CONSTANT LOOPS. This means that the resource will have NO effect on performance when there are zero admin zones.
Right now, it is set where EACH admin can only set one zone. That way they do not forget about an active zone that is set. So there can be multiple zones, but each admin has their own. Also, the zones are not persistent, as they are meant to be a temporary safe zone during admin interventions.