Config file
---- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
---- _| || |_ _| || |_ _| || |_ _| || |_ _| || |_ _| || |_ _| || |_ _| || |_
---- _ .. _|_ .. _|_ .. _|_ .. _|_ .. _|_ .. _|_ .. _|_ .. _|
---- |_ _|_ _|_ _|_ _|_ _|_ _|_ _|_ _|
---- |_||_| |_||_| |_||_| |_||_| |_||_| |_||_| |_||_| |_||_|
----
---- __ __ _ _ _
---- \ \ / /_ _ _ __ __ _ __ _ _ __ __| | | | __ _| |__ ___
---- \ \ / / _` | '_ \ / _` |/ _` | '__/ _` | | | / _` | '_ \/ __|
---- \ V / (_| | | | | (_| | (_| | | | (_| | | |__| (_| | |_) \__ \
---- \_/ \__,_|_| |_|\__, |\__,_|_| \__,_| |_____\__,_|_.__/|___/
---- |___/
----
---- VANGUARD LABS | POLICE JOB [QBCORE]
----
---- 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 (qb) / 'okok' (custom)
skinScript = true, -- Options: true (qb) / 'appearance'
customJail = true, -- Enable custom jail option
searchPlayers = true, -- Allow player searches
-- Inventory System
inventory = 'qb', -- Options: 'qb' / 'ox' / 'mf' / 'qs' / 'cheeza' / 'custom'
weaponsAsItems = true, -- Enable for QBCore systems
-- QBCore Features
qbIdentity = true, -- Enable for extra suspect info
qbLicense = 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' }
}
}
}
}
}
-- String tables for localization
Strings = {
-- Notifications
no_nearby = "No one nearby",
no_nearby_desc = "There's no one nearby to interact with",
invalid_amount = "Invalid Amount",
invalid_amount_desc = "You must enter a valid amount",
invalid_entry = "Invalid Entry",
invalid_entry_desc = "Please enter a valid value",
success = "Success",
vehicle_impounded_desc = "Vehicle has been impounded",
successful_purchase_desc = "Item successfully purchased",
lacking_funds = "Insufficient Funds",
lacking_funds_desc = "You don't have enough money for this purchase",
license_revoked = "License Revoked",
license_revoked_desc = "The license has been successfully revoked",
cancelled = "Cancelled",
cancelled_desc = "Action has been cancelled",
unconcious = "Unconscious Person",
unconcious_desc = "You cannot handcuff an unconscious person",
not_restrained = "Not Restrained",
not_restrained_desc = "This person is not handcuffed",
lockpicked = "Vehicle Unlocked",
lockpicked_desc = "You have successfully unlocked the vehicle",
too_far = "Too Far",
too_far_desc = "You're too far from the target",
vehicle_not_found = "No Vehicle Found",
vehicle_not_found_desc = "There is no vehicle nearby",
driver_in_car = "Driver Inside",
driver_in_car_desc = "The vehicle has a driver inside",
no_permission = "No Permission",
no_access_desc = "You don't have permission to access this",
-- UI Elements
armoury_quantity_dialog = "Quantity to Purchase",
armoury_menu = "Police Armory",
quantity = "Quantity",
minutes_dialog = "Jail Time (minutes)",
minutes_dialog_field = "Minutes",
police_garage = "Police Garage",
cloakroom = "Police Cloakroom",
civilian_wear = "Civilian Clothes",
vehicle_interactions = "Vehicle Interactions",
licenses = "Licenses",
total_licenses = "Total Licenses:",
no_licenses = "No licenses found",
id_result_menu = "ID Check",
prop_help_text = "Press ~y~[E]~w~ To Move or ~o~[G]~w~ To Delete",
prop_help_text2 = "Press ~y~[E]~w~ To Place Object",
-- Menu Entries
lockpick_progress = "Lockpicking vehicle...",
impounding_progress = "Impounding vehicle...",
go_back = "Return",
name = "Name",
job = "Job",
job_position = "Position",
dob = "Date of Birth",
sex = "Gender",
bac = "Blood Alcohol Content",
plate = "License Plate",
owner = "Owner",
possibly_stolen = "Possibly Stolen",
possibly_stolen_desc = "This vehicle may be stolen",
check_id = "Check ID",
check_id_desc = "Check a person's ID",
search_player = "Search Person",
search_player_desc = "Search a person for items",
handcuff_player = "Handcuff",
handcuff_player_desc = "Handcuff/Uncuff a person",
escort_player = "Escort",
escort_player_desc = "Escort a handcuffed person",
jail_player = "Jail",
jail_player_desc = "Send a person to jail",
fines = "Issue Fine",
fines_desc = "Issue a fine to a citizen",
put_in_vehicle = "Put in Vehicle",
put_in_vehicle_desc = "Put a handcuffed person in a vehicle",
take_out_vehicle = "Take out of Vehicle",
take_out_vehicle_desc = "Take a person out of a vehicle",
vehicle_information = "Vehicle Information",
vehicle_information_desc = "Check vehicle information",
lockpick_vehicle = "Lockpick Vehicle",
locakpick_vehicle_desc = "Lockpick a vehicle door",
impound_vehicle = "Impound Vehicle",
impound_vehicle_desc = "Impound a vehicle",
place_object = "Place Object",
place_object_desc = "Place a barrier or object",
currency = "$",
-- Key Mapping
key_map_tackle = "Tackle Player",
key_map_cuff = "Handcuff Player",
key_map_job = "Police Job Menu"
}
Last updated