Shared/alerts.lua
-- | # You can get help from our document: https://thug.gitbook.io/documentation
-- | # INFORMATION
-- | - Below are all the Contents you can add to an Alert.
-- | - You can create and use your own content by editing the Get_Contents function in client/no_escrow.lua
-- | - You can also create as many Alerts as you want and use them with our export.
-- | # CONTENTS
-- | - Location, Heading, Weapon, Player_Name, Player_Gender, Vehicle, Vehicle_Plate, Vehicle_Color, Vehicle_Doors
-- | # OTHER DETAILS
-- | - The Allowed_Jobs section in Settings.lua is for you to specify the job groups that will open the Dispatch Menu. The Allowed_Jobs parts here are for you to specify the job groups that will receive that Alert.
-- | - In addition, Alerts are colored according to the first occupational group in the Allowed_Jobs section.
-- | # EXAMPLE ALERT USAGE: exports['thug-dispatch']:Alert("Store_Robbery")
Config.Alerts = {
-- | # Police Alerts
['Shooting'] = {
Cooldown = 10,
Show_Time = 5,
Code = '10-71',
Label = 'Shots Fired',
Icon = 'fa-solid fa-explosion',
Priority = 2,
Sound = 'alert',
Contents = {'Location', 'Weapon', 'Player_Gender'},
Blip = {Sprite = 110, Color = 35, Scale = 0.5, Radius = 60.0, Show_Time = 1, Flash = false},
Allowed_Jobs = {'police', 'sheriff'}
},
['Fighting'] = {
Cooldown = 10,
Show_Time = 5,
Code = '10-71',
Label = 'Fighting',
Icon = 'fa-solid fa-hand-fist',
Priority = 1,
Sound = 'alert',
Contents = {'Location', 'Player_Gender'},
Blip = {Sprite = 273, Color = 35, Scale = 0.5, Radius = 60.0, Show_Time = 1, Flash = false},
Allowed_Jobs = {'police', 'sheriff'}
},
['Drive_By'] = {
Cooldown = 10,
Show_Time = 5,
Code = '10-71',
Label = 'Shots Fired from Vehicle',
Icon = 'fa-solid fa-car-on',
Priority = 2,
Sound = 'alert',
Contents = {'Location', 'Heading', 'Weapon', 'Vehicle', 'Vehicle_Plate', 'Vehicle_Color', 'Vehicle_Doors'},
Blip = {Sprite = 229, Color = 35, Scale = 0.5, Radius = 60.0, Show_Time = 1, Flash = false},
Allowed_Jobs = {'police', 'sheriff'}
},
['Vehicle_Theft'] = {
Cooldown = 5,
Show_Time = 5,
Code = '10-57',
Label = 'Vehicle Theft',
Icon = 'fa-solid fa-car-side',
Priority = 1,
Sound = 'alert',
Contents = {'Location', 'Heading', 'Vehicle', 'Vehicle_Plate', 'Vehicle_Color', 'Vehicle_Doors'},
Blip = {Sprite = 225, Color = 14, Scale = 0.5, Radius = 60.0, Show_Time = 1, Flash = false},
Allowed_Jobs = {'police', 'sheriff'}
},
['Gov_Vehicle_Theft'] = {
Cooldown = 5,
Show_Time = 5,
Code = '10-57',
Label = 'Government Vehicle Theft',
Icon = 'fa-solid fa-car-side',
Priority = 2,
Sound = 'alert',
Contents = {'Location', 'Heading', 'Vehicle', 'Vehicle_Plate', 'Vehicle_Color', 'Vehicle_Doors'},
Blip = {Sprite = 225, Color = 25, Scale = 0.5, Radius = 60.0, Show_Time = 1, Flash = false},
Allowed_Jobs = {'police', 'sheriff'}
},
-- | # Robbery Alerts
['Store_Robbery'] = {
Cooldown = 0,
Show_Time = 6,
Code = '10-90',
Label = 'Store Robbery',
Icon = 'fa-solid fa-cart-shopping',
Priority = 3,
Sound = 'alarm',
Contents = {'Location'},
Blip = {Sprite = 207, Color = 1, Scale = 0.5, Radius = 60.0, Show_Time = 2, Flash = true},
Allowed_Jobs = {'police', 'ambulance', 'sheriff'}
},
['Fleeca_Robbery'] = {
Cooldown = 0,
Show_Time = 6,
Code = '10-91',
Label = 'Fleeca Robbery',
Icon = 'fa-solid fa-money-bill-1',
Priority = 3,
Sound = 'alarm',
Contents = {'Location'},
Blip = {Sprite = 207, Color = 1, Scale = 0.5, Radius = 60.0, Show_Time = 2, Flash = true},
Allowed_Jobs = {'police', 'ambulance', 'sheriff'}
},
['Vangelico_Robbery'] = {
Cooldown = 0,
Show_Time = 6,
Code = '10-92',
Label = 'Vangelico Robbery',
Icon = 'fa-solid fa-gem',
Priority = 3,
Sound = 'alarm',
Contents = {'Location'},
Blip = {Sprite = 207, Color = 1, Scale = 0.5, Radius = 60.0, Show_Time = 2, Flash = true},
Allowed_Jobs = {'police', 'ambulance', 'sheriff'}
},
['Pacific_Robbery'] = {
Cooldown = 0,
Show_Time = 6,
Code = '10-93',
Label = 'Pacific Bank Robbery',
Icon = 'fa-solid fa-sack-dollar',
Priority = 3,
Sound = 'alarm',
Contents = {'Location'},
Blip = {Sprite = 207, Color = 1, Scale = 0.5, Radius = 60.0, Show_Time = 2, Flash = true},
Allowed_Jobs = {'police', 'ambulance', 'sheriff'}
},
-- | # Injure Alerts
['Officer_Down'] = {
Cooldown = 0,
Show_Time = 6,
Code = '10-99',
Label = 'Officer Down',
Icon = 'fa-solid fa-user-nurse',
Priority = 3,
Sound = 'emergency',
Contents = {'Location', 'Player_Name', 'Player_Gender', 'Screenshot'},
Blip = {Sprite = 60, Color = 76, Scale = 0.5, Radius = 60.0, Show_Time = 2, Flash = true},
Allowed_Jobs = {'ambulance', 'police', 'sheriff'}
},
['Wounded_Person'] = {
Cooldown = 0,
Show_Time = 6,
Code = '10-52',
Label = 'Wounded Person',
Icon = 'fa-solid fa-skull-crossbones',
Priority = 2,
Sound = 'alert',
Contents = {'Location', 'Player_Name', 'Player_Gender'},
Blip = {Sprite = 61, Color = 19, Scale = 0.5, Radius = 60.0, Show_Time = 2, Flash = false},
Allowed_Jobs = {'ambulance'}
},
}
Last updated