Security HUD
System Watchdog
×
Threads Scanned
-- / --
SYS. LOAD --%
AI SHIELD ACTIVE
DMCA Policy
×

📋 DMCA Compliance

This platform and community fully complies with the Digital Millennium Copyright Act (DMCA) and international copyright laws. We take all copyright protection seriously.

🛡️ Copyright Protection

If you believe a posted item belongs to you or violates your copyright, you may file a DMCA takedown request through our official channels. Upon receiving a valid claim, the infringing content will be removed within 24 hours.

What's new
×
Fiveguard

Script BSC-RestrictedZone

Themej

Gold Elite
Joined
Sep 28, 2022
Messages
101
Reaction score
4,967
Points
306
Location
Česko
06c73a1a8ca51f3ae2ec450917a81ebb568c0657.jpeg

BSC-RestrictedZone
Hello everyone, since ive seen many big people selling basic zone / restriction zones /areas I tought about doing it myself and releasing it absolutely for free as you guys know me.

Code:
-- Configuration table for a police exclusion zone
Config = {}

-- Name of the blip that appears on the map to mark the zone
Config.Blipname = "~r~EXCLUSION ZONE~s~"

-- Color of the blip that appears on the map to mark the zone
Config.Color = 3
Config.Radius = 150
blipRadius = 150.0
 
-- Jobs that are allowed to enter the exclusion zone
Config.Jobs = {
  "police",
  "doa",
  "sheriff",
  "doj",
  "ambulance"
}

-- Command that players with allowed jobs can use to create an exclusion zone
Config.CreateCommand = "zoneAdd"

-- Command that players with allowed jobs can use to remove an exclusion zone
Config.RemoveCommand = "zoneRemove"

-- Title of the notification that appears when an exclusion zone is created
Config.NotifyTitle = "~r~EXCLUSION ZONE~s~"

-- Icon of the notification that appears when an exclusion zone is created
Config.NotifyPicture = "CHAR_CALL911"

-- Message of the notification that appears when an exclusion zone is created
Config.NotifyMessage = "An exclusion zone was declared. Unallowed approaches must expect to be ~r~arrested"

-- Message of the notification that appears when an exclusion zone is removed
Config.NotifyMessageRemoved = "The current exclusion zone has been lifted!"

-- Play Sounds?
Config.Sounds = true

 
Top