Aircraft Job

Configuration for Aircraft Section

  1. The Config.Aircraft 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.Aircraft = true

Config.UseRequiredJob = false    -- Dont touch
Config.RequiredJobAircraft = "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.

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

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

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

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

Config.blipAircraft = {
    Active = true,
    AircraftBlipSprite = 307,         -- The sprite ID for the blip
    AircraftBlipColour = 0,          -- The color ID for the blip
    AircraftBlipName = "Aircraft Job", -- Name displayed on the blip
    AircraftBlipScale = 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.


  1. Job Configuration

  • Config.aircrafticondifficulty: Sets the difficulty level of the minigame icon (set to 8).

  • Config.aircraftbarspeed: Controls the speed of the aircraft-related minigame bar (set to 1.5).

  • Config.SpawnLocationsAircraft: Defines the spawn locations for aircraft with specific coordinates, heading, and model

  • Config.TableAndLaptop: Defines the table and laptop location with coordinates and heading:

    • Coords: vector3(-1884.6835, -3105.7476, 13.9443)

    • Heading: 336.0249

  • Config.WaitTime: Time (in milliseconds) from the plane starting to land to the bus spawning (set to 58,000, equivalent to 58 seconds).

  • Config.MechanicAircraftDespawnCar: Time (in milliseconds) before the mechanic's aircraft car despawns (set to 300,000, equivalent to 5 minutes).

  • Config.busmodel: Specifies the bus model (set to "bus").

  • Config.Npc: Number of NPCs in the bus (set to 8).

  • Config.busmaker: Location where the bus spawns (vector3(-1384.4412, -2260.3335, 13.9448)).

  • Config.busoffset: Sets the bus offset position (vector3(-16.0, 0.0, 0.0)).

  • Config.landingcords: Defines the plane landing coordinates and runway paths:

    • Runway Start: vector3(-1652.3910, -2761.5481, 13.9447)

    • Runway End: vector3(-1414.3038, -2346.4351, 14.5476)

  • Config.Crashlanding: Specifies crash landing locations for cars:

    • Coords: vector3(-2262.9753, 3016.4768, 32.3742)

    • Heading: 241.0185


  1. Player Side Configuration

  • Config.MechanicAircraft: Defines the mechanic vehicle for aircraft tasks:

    • Model: "airtug".

    • Coords: vector3(-1776.9602, -2795.9182, 13.3732).

    • Heading: 240.9232.

  • Config.UseMechanicAircraftClothes: Enables mechanic-specific clothes for aircraft jobs (set to true).

  • Config.MechanicClothesAircraft: Specifies the outfit for aircraft mechanics:

    • T-Shirt: Model 181, Variant 0.

    • Torso: Model 318, Variant 5.

    • Arms: Model 74.

    • Pants: Model 187, Variant 0.

    • Shoes: Model 97, Variant 0.

    • Helmet: Model 0, Variant 0.

    • Chain: Model 38, Variant 0.

    • Ears: Model 0, Variant 0.

Last updated