esx_p_policealerts

This item is free.

Police alert script

* Comes with gun shooting alerts

* Alert positions are saved

* You can get alert waypoint by pressing E button

* Script can adjust minimap so you can see all alerts around the map (you can disable this feature)

* Alert shows you intersection or street

* You can add your own alerts for other needs (drugselling or other activity)

* Not obfuscated - add or edit features easily

* Check all settings from config below

Requirements:
* ESX

Youtube link: https://www.youtube.com/watch?v=Xv5eeBwJKFg

Config = {}

Config.AlertMenuButton = "F5"

Config.HowLongBlipStaysInMap = 10000 --ms

Config.AlertListPosition = "top-right"

Config.HowOftenGunAlertCanBeTriggeredByPlayer = 2000 --ms

Config.ControlMinimap = true --Script adjusts the minimap size

Config.AlertTime = 5000 --How long Press E text stays


Config.TextNotification = "Notification"

Config.TextSetGps = "set up gps"

Config.TextSoundsOnOff = "Set alert sounds ON/OFF"

Config.TextClear = "Clear notifications"

Config.TextAlerts = "Alerts"

Config.TextIntersection = "Intersection "

Config.TextStreet = "Street "

Config.TextAlertFromYourLocation = "Alert is in your current location!"

Config.TextGunAlert = "Gun fire"

Config.TextWayPointSet = "Waypoint is set to - "

local notalertingweapons = {

"WEAPON_STUNGUN",

"WEAPON_FIREEXTINGUISHER",

"WEAPON_SNOWBALL",

}