Client Configuration (cl_config.lua)
The config/cl_config.lua file manages client-side uniforms, biohazard protective gear, and the in-game dashboard FAQ database.
🦺 Uniforms & Hazmat Suits (outfits)
The script provides dedicated outfit definitions for standard Workwear and sealed Hazmat Suits. Both configurations include separate male and female component tables.
return {
outfits = {
workwear = {
male = {
["mask"] = { item = 0, texture = 0 },
["accessory"] = { item = 0, texture = 0 },
["torso2"] = { item = 66, texture = 1 },
["t-shirt"] = { item = 15, texture = 0 },
["vest"] = { item = 0, texture = 0 },
["bag"] = { item = 0, texture = 0 },
["arms"] = { item = 1, texture = 0 },
["pants"] = { item = 39, texture = 1 },
["shoes"] = { item = 25, texture = 0 },
["decals"] = { item = 207, texture = 0 },
["hat"] = { item = -1, texture = 0 },
["glass"] = { item = -1, texture = 0 },
},
female = {
-- ...
},
},
hazmatSuit = {
male = {
["mask"] = { item = 36, texture = 0 },
["torso2"] = { item = 67, texture = 0 },
["t-shirt"] = { item = 62, texture = 0 },
["arms"] = { item = 214, texture = 0 },
["pants"] = { item = 40, texture = 0 },
["shoes"] = { item = 25, texture = 0 },
["glass"] = { item = 15, texture = 9 },
},
female = {
["mask"] = { item = 36, texture = 0 },
["torso2"] = { item = 61, texture = 0 },
["t-shirt"] = { item = 43, texture = 0 },
["arms"] = { item = 248, texture = 0 },
["pants"] = { item = 40, texture = 0 },
["shoes"] = { item = 25, texture = 0 },
["glass"] = { item = 9, texture = 9 },
},
}
},☣️ Hazmat Suit Mechanics
- Interaction with Van: When near the company van (
burritocsc), target interaction options (ox_target/qb-target) allow players to Put on Hazmat Suit or Put on Workwear. - Biohazard Requirement: If a player attempts to scrub blood, collect biological evidence, or handle crime scene items without wearing their Hazmat suit, the script prompts them to equip proper protective gear first.
👗 Custom EUP & Clothing Packs
If your server utilizes custom EUP or modded clothing packs that shift vanilla GTA V drawable ID numbers:
- Open your server's clothing store menu (
illenium-appearance,rcore_clothing,fivem-appearance, orqb-clothing). - Put on your desired workwear or hazmat suit and write down the exact component IDs (
torso2,pants,arms,mask,glass). - Replace the numeric values in
config/cl_config.lua.
📖 In-Game FAQ Database (tutorials)
The tutorials table defines the questions and answers visible to players on the Tutorial tab in the NUI job dashboard:
tutorials = {
{
id = 1,
question = "How do I start working?",
answer = "Go to the Crime Scene Cleaner base blip and interact with the boss NPC. You can also open the dashboard with your job menu key. The dashboard only opens if you are assigned to the cleaner job."
},
{
id = 2,
question = "How do I get a vehicle and equipment?",
answer = "A cleaning van is spawned automatically when the lobby leader starts a job route. You can interact with the vehicle using your target system to put on your hazmat suit or change back to regular workwear."
},
{
id = 3,
question = "How does a work route work?",
answer = "After starting the route, the script assigns you a crime scene location. Travel there, put on your hazmat suit, and complete all tasks such as cleaning blood, collecting evidence, hacking alarms, or rearranging furniture. Once everything is done, return to base to collect your payout."
},
{
id = 4,
question = "How do I complete a task?",
answer = "Approach a task (e.g., blood stains, CCTV cameras) and start the interaction. Each task has its own mini-game and UI instructions. You must be wearing your hazmat suit to interact with crime scene elements."
},
{
id = 5,
question = "How does the crew system work?",
answer = "Every player has a lobby. The lobby owner can invite nearby players with the same job (max 2 members). Before starting, payout shares must total exactly 100%. The leader starts the route and all members get assigned to the same crime scene. The final payout is split based on your lobby share percentages."
}
}You can customize, translate, or append additional tutorial entries here to match your server's specific roleplay lore or guidelines!