PixelCraft Official Docs
  • Welcome
  • Information
    • Discord Roles
    • How to update your asset
    • FiveM Asset Escrow System
  • Assets and Guides
    • PC-Crafting-V2
      • Installation
      • Configuration
        • Inventory System
        • Core Framework
        • Language
        • EXP Enabled
        • Whitelisting Players
        • Whitelisted Admins
        • Weapon Damage Multipliers
        • Weapon Parts Configuration
        • Crafting & Repair Experience
        • Crafting Locations
        • Database Setup
        • Custom Weapons
        • Crafting Recipes
        • Attachments
      • Troubleshooting
      • Commands
      • Support
    • PC-Security
      • Installation
      • Configuration
        • Job Routes
        • Level Thresholds
        • Level-Specific Configurations
        • Damage Threshold
        • Police Alert
        • Security Shop Items
        • Criminal Rewards
        • Blips
      • Support
Powered by GitBook
On this page
  1. Assets and Guides
  2. PC-Security
  3. Configuration

Job Routes

PreviousConfigurationNextLevel Thresholds

Last updated 9 months ago

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 .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)}
with caution