Base Configuration

The base config controls the spawn settings of the job's main NPC and the job vehicles.

config.base = {
  blip = {
    sprite = 566,
    color = 5,
    scale = 0.8,
    label = 'Road Maintenance'
  },
  ped = {
    model = 's_m_y_dockwork_01',
    coords = vector4(927.42, -1560.17, 29.94, 90.17),
  },
  
  vehicles = {
    models = {
      {
        model = 'boxville',
        label = 'Brute Boxville',
        requiredLevel = 1,
        livery = 0,
        extras = {},
      },
      -- Custom vehicles can be added here
    },
    spawnCoords = {
      vector4(912.68, -1577.52, 29.6, 1.51),
      -- Add as many spawn spots as needed
    },
  },
}

Explanations

  • blip: Customizable map marker coordinates are synced to the ped.coords.
  • ped: Target point where players can access the lobby system. model dictates the NPC visual.
  • models: Fleet of vehicles provided to the player. requiredLevel locks the vehicle to the group's EXP level. extras allows forcing specific custom props to be spawned on the truck.
  • spawnCoords: Defined spawn spots for vehicles. The system automatically detects if a parking spot is blocked by another player's vehicle and will skip that coord.