Config file
---- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
---- _| || |_ _| || |_ _| || |_ _| || |_ _| || |_ _| || |_ _| || |_ _| || |_
---- _ .. _|_ .. _|_ .. _|_ .. _|_ .. _|_ .. _|_ .. _|_ .. _|
---- |_ _|_ _|_ _|_ _|_ _|_ _|_ _|_ _|
---- |_||_| |_||_| |_||_| |_||_| |_||_| |_||_| |_||_| |_||_|
----
---
---- __ __ _ _ _
---- \ \ / /_ _ _ __ __ _ __ _ _ __ __| | | | __ _| |__ ___
---- \ \ / / _` | '_ \ / _` |/ _` | '__/ _` | | | / _` | '_ \/ __|
---- \ V / (_| | | | | (_| | (_| | | | (_| | | |__| (_| | |_) \__ \
---- \_/ \__,_|_| |_|\__, |\__,_|_| \__,_| |_____\__,_|_.__/|___/
---- |___/
----
---- VANGUARD LABS | POLICE JOB [ESX]
----
---- Thank you for purchasing our script; we greatly appreciate your preference.
---- If you have any questions or any modifications in mind, please contact us via Discord.
----
---- Support and More: https://discord.gg/rq5yVBACTf
----
---- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
---- _| || |_ _| || |_ _| || |_ _| || |_ _| || |_ _| || |_ _| || |_ _| || |_
---- _ .. _|_ .. _|_ .. _|_ .. _|_ .. _|_ .. _|_ .. _|_ .. _|
---- |_ _|_ _|_ _|_ _|_ _|_ _|_ _|_ _|
---- |_||_| |_||_| |_||_| |_||_| |_||_| |_||_| |_||_| |_||_|
----
Config = {}
-- ===============================
-- POLICE SYSTEM CONFIGURATION
-- ===============================
Config.Police = {
-- Menu Settings
jobMenu = 'F6', -- Key to open job menu
-- System Toggles
customCarlock = false, -- Enable custom car lock system
billingSystem = true, -- Options: true (esx) / 'okok' (custom)
skinScript = true, -- Options: true (esx) / 'appearance'
customJail = true, -- Enable custom jail option
searchPlayers = true, -- Allow player searches
-- Inventory System
inventory = 'ox', -- Options: 'ox' / 'mf' / 'qs' / 'cheeza' / 'custom'
weaponsAsItems = true, -- Enable for older ESX systems
-- ESX Features
esxIdentity = true, -- Enable for extra suspect info
esxLicense = true, -- Enable for weapon licenses
-- Police Tools
spikeStripsEnabled = true, -- Enable spike strips
-- Tackle System
tackle = {
enabled = true, -- Enable tackling
policeOnly = true, -- Only for police jobs
hotkey = 'G' -- Key to tackle while sprinting
},
-- Handcuff System
handcuff = {
timer = 20 * 60, -- Time before auto-release (seconds)
hotkey = 'J', -- Key to handcuff
skilledEscape = {
enabled = false, -- Allow skill-based escape
difficulty = {'easy', 'easy', 'easy'} -- Difficulty levels
}
},
-- Police Jobs
jobs = {
'police'
--'sheriff'
}
}
-- ===============================
-- PED CONFIGURATION
-- ===============================
Config.Peds = {
['VanguardPed'] = {
model = 's_m_y_cop_01', -- Ped model
heading = 181.59, -- Spawn heading
coords = vector3(441.0968, -978.928, 29.689), -- Spawn location
name = "Sargent Jhon", -- Display name
interactionText = "Press ~g~[E]~w~ to report", -- Interaction text
},
-- Discord Integration
discord = {
webhookUrl = "", -- Webhook URL
roleId = "" -- Role ID for mentions
}
}
-- ===============================
-- WEAPONS CONFIGURATION
-- ===============================
Config.AcceptedWeapons = {
`WEAPON_COMBATPISTOL`,
`WEAPON_STUNGUN`
}
Config.CustomBones = {
-- Example: [`SPAWN_CODE`] = 'Custom Bone Name'
}
-- ===============================
-- PROPS CONFIGURATION
-- ===============================
Config.Props = {
{
title = 'Barrier',
description = '',
model = `prop_barrier_work05`,
groups = {
['police'] = 0,
['sheriff'] = 0,
}
},
{
title = 'Barricade',
description = '',
model = `prop_mp_barrier_01`,
groups = {
['police'] = 0,
['sheriff'] = 0,
}
},
{
title = 'Traffic Cones',
description = '',
model = `prop_roadcone02a`,
groups = {
['police'] = 0,
['sheriff'] = 0,
}
},
{
title = 'Spike Strip',
description = '',
model = `p_ld_stinger_s`,
groups = {
['police'] = 0,
['sheriff'] = 0,
}
}
}
-- ===============================
-- POLICE STATION CONFIGURATION
-- ===============================
Config.Locations = {
LSPD = {
-- Blip Settings
blip = {
enabled = true,
coords = vec3(464.57, -992.0, 30.69),
sprite = 60,
color = 29,
scale = 1.0,
label = 'Mission Row PD'
},
-- Boss Menu
bossMenu = {
enabled = true,
jobLock = 'police',
coords = vec3(437.1053, -994.464, 30.689),
label = '[E] - Access Boss Menu',
distance = 3.0,
target = {
enabled = false,
label = 'Access Boss Menu',
coords = vec3(437.1053, -994.464, 30.689),
heading = 269.85,
width = 2.0,
length = 1.0,
minZ = 30.73-0.9,
maxZ = 30.73+0.9
}
},
-- Armory
armoury = {
enabled = true,
coords = vec3(454.0439, -980.055, 29.689),
heading = 86.95,
ped = 's_f_y_cop_01',
label = '[E] - Access Armoury',
jobLock = 'police',
weapons = {
[0] = {
['WEAPON_COMBATPISTOL'] = { label = 'Combat Pistol', multiple = false, price = 0 },
['WEAPON_NIGHTSTICK'] = { label = 'Night Stick', multiple = false, price = 0 },
['weapon_stungun'] = { label = 'Taser', multiple = false, price = 0 },
['ammo-9'] = { label = '9mm Ammo', multiple = true, price = 0 },
['armour'] = { label = 'Bulletproof Vest', multiple = false, price = 0 }
},
[1] = {
['WEAPON_COMBATPISTOL'] = { label = 'Combat Pistol', multiple = false, price = 0 },
['WEAPON_NIGHTSTICK'] = { label = 'Night Stick', multiple = false, price = 0 },
['weapon_stungun'] = { label = 'Taser', multiple = false, price = 0 },
['ammo-9'] = { label = '9mm Ammo', multiple = true, price = 0 },
['armour'] = { label = 'Bulletproof Vest', multiple = false, price = 0 }
},
[2] = {
['WEAPON_COMBATPISTOL'] = { label = 'Combat Pistol', multiple = false, price = 0 },
['WEAPON_NIGHTSTICK'] = { label = 'Night Stick', multiple = false, price = 0 },
['weapon_stungun'] = { label = 'Taser', multiple = false, price = 0 },
['ammo-9'] = { label = '9mm Ammo', multiple = true, price = 0 },
['armour'] = { label = 'Bulletproof Vest', multiple = false, price = 0 }
},
[3] = {
['WEAPON_COMBATPISTOL'] = { label = 'Combat Pistol', multiple = false, price = 0 },
['WEAPON_NIGHTSTICK'] = { label = 'Night Stick', multiple = false, price = 0 },
['weapon_stungun'] = { label = 'Taser', multiple = false, price = 0 },
['ammo-9'] = { label = '9mm Ammo', multiple = true, price = 0 },
['armour'] = { label = 'Bulletproof Vest', multiple = false, price = 0 }
}
}
},
-- Cloakroom
cloakroom = {
enabled = true,
jobLock = 'police',
coords = vec3(452.2905, -992.885, 30.689),
label = '[E] - Cloak Room',
range = 2.0,
uniforms = {
[1] = {
label = 'Patrol',
male = {
['tshirt_1'] = 58, ['tshirt_2'] = 0,
['torso_1'] = 55, ['torso_2'] = 0,
['arms'] = 30,
['pants_1'] = 24, ['pants_2'] = 0,
['shoes_1'] = 10, ['shoes_2'] = 0,
['helmet_1'] = 3, ['helmet_2'] = 0,
['bproof_1'] = 1, ['bproof_2'] = 2,
},
female = {
['tshirt_1'] = 15, ['tshirt_2'] = 0,
['torso_1'] = 4, ['torso_2'] = 14,
['arms'] = 4,
['pants_1'] = 25, ['pants_2'] = 1,
['shoes_1'] = 16, ['shoes_2'] = 4,
['bproof_1'] = 1, ['bproof_2'] = 2
}
}
}
},
-- Vehicle Garage
vehicles = {
enabled = true,
jobLock = 'police',
zone = {
coords = vec3(463.69, -1019.72, 28.1),
range = 5.5,
label = '[E] - Access Garage',
return_label = '[E] - Return Vehicle'
},
spawn = {
land = {
coords = vec3(449.37, -1025.46, 28.59),
heading = 3.68
},
air = {
coords = vec3(449.29, -981.76, 43.69),
heading = 0.01
}
},
options = {
[0] = {
['police'] = { label = 'Police Cruiser', category = 'land' },
['police2'] = { label = 'Police Cruiser #2', category = 'land' },
['polmav'] = { label = 'Maverick', category = 'air' }
},
[1] = {
['police'] = { label = 'Police Cruiser', category = 'land' },
['police2'] = { label = 'Police Cruiser #2', category = 'land' },
['polmav'] = { label = 'Maverick', category = 'air' }
},
[2] = {
['police'] = { label = 'Police Cruiser', category = 'land' },
['police2'] = { label = 'Police Cruiser #2', category = 'land' },
['polmav'] = { label = 'Maverick', category = 'air' }
},
[3] = {
['police'] = { label = 'Police Cruiser', category = 'land' },
['police2'] = { label = 'Police Cruiser #2', category = 'land' },
['polmav'] = { label = 'Maverick', category = 'air' }
}
}
}
}
}
---- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
---- _| || |_ _| || |_ _| || |_ _| || |_ _| || |_ _| || |_ _| || |_ _| || |_
---- _ .. _|_ .. _|_ .. _|_ .. _|_ .. _|_ .. _|_ .. _|_ .. _|
---- |_ _|_ _|_ _|_ _|_ _|_ _|_ _|_ _|
---- |_||_| |_||_| |_||_| |_||_| |_||_| |_||_| |_||_| |_||_|
----
Last updated