Car Job

Configuration for Car Section

  1. The Config.Car parameter, when set to true, activates a specific job related to cars. If this value is changed to false, the job will not run.

Config.Car = true   -- Set to false if you dont want a specific Job to run

Config.UseRequiredJob = false   -- Dont touch
Config.RequiredJob = "driver"   -- Dont touch

  1. Blip Configuration

    • Active: Determines if the blip is visible on the map. Setting this to true enables the blip, while false disables it.

    • CarBlipSprite: Specifies the icon used for the blip by its sprite ID, allowing customization of its appearance.

    • CarBlipColour: Sets the color of the blip using a predefined color ID, enabling thematic consistency.

    • CarBlipName: Defines the label or name displayed when hovering over the blip, offering context for its purpose.

    • CarBlipScale: Adjusts the size of the blip on the map. A smaller value reduces its size, while a larger value makes it more prominent.

Config.blipCar = {
    Active = true,
    CarBlipSprite = 67,         -- The sprite ID for the blip
    CarBlipColour = 21,          -- The color ID for the blip
    CarBlipName = "Car Job", -- Name displayed on the blip
    CarBlipScale = 0.7,         -- Scale (size) of the blip  
}

  1. Ped Configuration

  • Model: Specifies the ped's model (in this case, "mp_m_waremech_01"), which determines the ped's appearance. Change this to match the desired character for the job.

  • Coords: Defines the spawn location for the ped using the vector3 format, which includes the X, Y, and Z coordinates. Adjust these values to place the ped at the desired location.

  • Heading: Sets the ped's heading direction in degrees, determining which way the ped will face upon spawning.


4. Job Configuration

  • Config.RepairPoints: Maximum number of repair points on the car (set to 3).

  • Config.cardifficulty: Difficulty level for the minigame, such as unlocking a safe (set to 1 for easy).

  • Config.cardifficultytimer: Time limit for completing the wire-cutting minigame, in milliseconds (set to 30,000, i.e., 30 seconds).

  • Config.SpawnLocations: Defines multiple car spawn locations with coordinates, headings, and models for each car.

  • Config.PedInsideCar: Model of the ped inside the car (set to "a_m_y_business_01").


  1. Player Side Configuration

  • Config.UseMechanicClothes: Enables mechanic job clothes (set to true).

  • Config.MechanicCarDespawn: Car despawn time (5 minutes, set to 300,000 ms).

  • Config.MechanicClothes: Defines job-specific outfit:

    • T-Shirt: Model 15, Variant 0.

    • Torso: Model 89, Variant 0.

    • Arms: Model 53.

    • Pants: Model 89, Variant 23.

    • Shoes: Model 27, Variant 0.

    • Helmet, Chain, Ears: Model 0.

Last updated