Job Routes

Config.JobRoutes = {
    EscortVIP = { 
        [1] = {  -- Routes for Level 1 jobs
            {start_coord = vector4(-59.44, -1628.19, 29.18, 140.64), end_coord = vector3(-1079.02, -2982.52, 13.95)},
            -- More routes for Level 1...
        },
        [2] = {  -- Routes for Level 2 jobs
            -- ...
        },
        [3] = {  -- Routes for Level 3 jobs
            -- ...
        },
    },
}

content_copyUse code with caution.Lua

  • EscortVIP: Represents the mission type. In this case, it's escorting a VIP.

  • [1], [2], [3]: Represent job difficulty levels, ranging from 1 (easiest) to 3 (hardest).

    • start_coord: The starting point of the route, defined as a vector4. The fourth value (W) indicates the initial heading of the VIP's vehicle.

    • end_coord: The destination of the route, defined as a vector3.

Example:

{start_coord = vector4(-59.44, -1628.19, 29.18, 140.64), end_coord = vector3(-1079.02, -2982.52, 13.95)}

Last updated