


Price
UnknownA script by EV-BeansFL
Price
UnknownBSC-PolicePanic
BSC-PolicePanic is a highly configurable PanicSystem for your officers and your law enforcement players
Features:
Preview:
Config:
Config = {}
Config.Jobs = {
"police",
"doa",
"sheriff",
"doj",
"ambulance"
}
Config.BlipTime = 50 -- in seconds
Config.Blipname = "Police" -- Blip name
Config.SenderNotification = 'Needs immediate assistance!'
Config.NotAllowedNotification = 'Youre not allowed to use the panicbutton!'
Config.ShowNotification = true
Config.NotificationTitle = '10-99'
Config.NotificationText = ' Officer Triggered a Panic'
Config.NotificationTime = 30 -- in seconds
-- Using RoadPhone and you would like to implement it? No worries!
Config.RoadPhone = false -- Set this to true to get a dispatch on your roadphone!
Config.RoadPhoneMessage = 'Officer sent a panic!'
-- Item
Config.UseItem = true -- set to false if you dont want to use Items
Config.ItemName = 'panicbutton'
Config.ItemNotAllowed = "Item using disabled"
-- Command and keyboardtriggers
Config.Defaultkey = "0"
Config.AllowCommand = true
Config.PanicCommand = 'panic'
Config.CommandNotAllowed = 'Command is disabled'
-- Webhooks
Config.Webhooktitle = 'Panicbutton'
Config.Servername = 'BSC-Studios'
Config.embedcolor = "14423100"
Config.Translation = { -- for webhooks
["panic_triggered"] = "Panicbutton was triggered by",
}
-- Set your custom notifications here!
function notification(msg)
local mugshot, mugshotStr = ESX.Game.GetPedMugshot(PlayerPedId())
ESX.ShowAdvancedNotification('' .. Config.NotificationTitle .. '', '', msg, mugshotStr, 1)
UnregisterPedheadshot(mugshot)
end
function ShowNotification(text)
SetNotificationTextEntry('STRING')
AddTextComponentString(text)
DrawNotification(false, true)
end
Buy now
for 5€
Code is accessible | No |
Subscription-based | No |
Lines (approximately) | 540 |
Requirements | ESX |
Support | Yes |
No approved reviews found for this script yet.