Jim_G_Green_Zone_Red_Zone

Jim_G_Green_Zone_Red_Zone

Enhance your server with fully customizable Greenzones and Redzones using ox_lib poly zones.

  • Greenzones create safe areas with enforced restrictions, including no shooting, no drive-bys, player invincibility, and vehicle speed limits.
  • Redzones remove all restrictions, allowing unrestricted combat and vehicle freedom.

This script supports optional image displays (via URL) when players enter zones, alongside configurable text notifications.

Key Features:

:white_check_mark: Define custom Greenzones and Redzones using 3D polygon coordinates.
:white_check_mark: Choose between image-based (URL) or text-based notifications.
:white_check_mark: Built-in support for community_bridge (logging & notifications) and ox_lib (efficient zone management).

Dependencies: ox_lib, community_bridge.

link = GitHub - jimgordon20/jim_g_green_zone_red_zone: customizable Greenzones and Redzones using ox_lib poly zones.






6 Likes

Well done jim!!!

1 Like

Thanks for the free release, but just asking what is the point of having Community Bridge when we can just add our own notifications?

1 Like

You’re welcome! And yeah, I can just leave the code for people to add their own stuff, but Community_Bridge is basically a big bridge folder with lots of different things built into it and being worked on daily.
So why let some people struggle with adding notifications—since not everyone can do that—when I can just add Community_Bridge, and it will work for just about any notification you have,
Plus, we can always add one if it’s not already in the Bridge.

I’d suggest having a look at my working example code, then taking a look at Community_Bridge. You’ll see how easy it is to make your script work with the bridge.
bridge is a very interesting project that’s only going to get better, mate!

4 Likes

ok thanks i will check out community bridge

2 Likes