Price
UnknownA script by VibeScripts
Price
UnknownThe vsRestrictedZone - Resource is a well thought-out, comprehensive, performant and appealing restricted zone system for your FiveM server.
Here is a list of all the important features:
Config = {}
Config.Version = true -- select your version (true = old version)
Config.Locale = 'en'
-- Basic-Settings
Config.UseCommand = true -- Should the command be activated?
Config.CommandName = 'restrictedzone' -- What should the command be called?
-- [The event to open the menu is a client-side event: "vsRestrictedZone:openZoneMenu"] --
Config.JobSetting = {['police'] = 0} -- which job can use the system and from which rank
Config.TrafficControl = true -- should the npc traffic be stopped at a restricted zone?
-- Notify-Settings
Config.NotifcationToCops = true -- Should the officers receive a special notification?
Config.AnyoneNotification = false -- a message should be sent to each player as soon as a restricted zone is declared?
Config.DrawRestrictedZone = true -- the exclusion zone should be drawn in the form of a marker?
Config.MinRadius = 5 -- radius required for at least one exclusion zone (min. 0)
Config.MaxRadius = 100 -- maximum allowed radius (max. 999)
Config.EnableTime = true -- can you create temporary zones?
Config.EnablePermanentZones = true -- can there be permanent zones? (if both are active, 0 stands for permanent or leave the field blank)
Config.MinMinutes = 1 -- Minimum number of minutes how long a restricted zone exists (it must be at least 1)
Config.MaxMinutes = 60 -- Maximum length a zone can exist. (It must be between 1 and 99)
Config.EnableWarningMessage = true -- should a warning message come when someone enters a restricted zone?
Config.WhitelistWarningMessage = {'police', 'ambulance', 'sheriff'} -- which jobs are excluded from the warning message?
-- reasons to declare a restricted zone
Config.Reasons = {
"state bank",
"jeweler",
"shoot-out"
}
-- Blip-Settings
Config.Sprite = 373 -- https://docs.fivem.net/docs/game-references/blips/ (373 or 161)
Config.Colour = 79 -- https://docs.fivem.net/docs/game-references/blips/#blip-colors
Config.Scale = 3.0 -- size of the blip
-- Size-Settings
Config.MenuWidth = 0.23 -- menu width || de: 0.2 and en: 0.23
Config.MenuFont = 0 -- font for everything except the title (0 = recommended)
Config.TitleFont = 7 -- font for a title
Config.TitleSize = 0.9 -- title size || de: 1.0 and en: 0.9
Config.TitleColor = {r = 255, g = 0, b = 0} -- color for a title
Config.SubTitleColor = {r = 255, g = 51, b = 51} -- color for a subtitle
Config.BackgroundColor = {r = 32, g = 52, b = 52, a = 255} -- background color
IDLE: 0.00ms
RUNNING: 0.01ms
TEBEX: vsRestrictedZone
This resource is using the FiveM Asset Escrow system
| Code is accessible | No |
| Subscription-based | No |
| Lines (approximately) | 1500 |
| Requirements | ESX |
| Support | Yes |
See what others are saying about this script.
Share your experience and help others.