Configuration

CONFIG GUIDE

I WANT MORE STATIONS

In the config file - Under the section (Targets) You can find a commented part, that is ready to be used. We have added the same code below for easy copy paste.

Here is also a short guide in what means what:

  • Coords (The location where the target should be).

  • Heading (In what direction should the target box face).

  • Size (How big or small should the box area be).

  • Distance (This is the distance from the target, that the player can interact with the target).

  • minZ (Is the lowest point that the box can be interacted with).

  • maxZ (is the highest point that the box can be interacted with).

  • Keep in mind, that both minZ and maxZ is the last number in the vector3 coord!

{
    Office = {
        {
            Coords = vector3(0.0, 0.0, 0.0),
            Heading = 0.0,
            Size = {0.0, 0.0},
            Distance = 0.0,
            minZ = 0.0-0.0,
            maxZ = 0.0+0.0,
        },
    },
    ToggleDuty = {
        {
            Coords = vector3(0.0, 0.0, 0.0),
            Heading = 0.0,
            Size = {0.0, 0.0},
            Distance = 0.0,
            minZ = 0.0-0.0,
            maxZ = 0.0+0.0,
        },
    },
    Wardrobe = {
        {
            Coords = vector3(0.0, 0.0, 0.0),
            Heading = 0.0,
            Size = {0.0, 0.0},
            Distance = 0.0,
            minZ = 0.0-0.0,
            maxZ = 0.0+0.0,
        },
    },
    Armory = {
        {
            Coords = vector3(0.0, 0.0, 0.0),
            Heading = 0.0,
            Size = {0.0, 0.0},
            Distance = 0.0,
            minZ = 0.0-0.0,
            maxZ = 0.0+0.0,
        },
    },
    Archive = {
        {
            Coords = vector3(0.0, 0.0, 0.0),
            Heading = 0.0,
            Size = {0.0, 0.0},
            Distance = 0.0,
            minZ = 0.0-0.0,
            maxZ = 0.0+0.0,
        },
    },
    FrontDesk = {
        {
            Coords = vector3(0.0, 0.0, 0.0),
            Heading = 0.0,
            Size = {0.0, 0.0},
            Distance = 0.0,
            minZ = 0.0-0.0,
            maxZ = 0.0+0.0,
        },
    },
    Evidence = {
        {
            Coords = vector3(0.0, 0.0, 0.0),
            Heading = 0.0,
            Size = {0.0, 0.0},
            Distance = 0.0,
            minZ = 0.0-0.0,
            maxZ = 0.0+0.0,
        },
    },
},

2) I WANT MORE VEHICLES

You can find a commented part, that is ready to be used. We have added the same code below for easy copy paste.

Here is also a short guide in what means what:

  • Spawner (Where do you want the little box, that is the location for the vehicles).

  • Spawnpoint (Is the location at which the vehicle will be spawning at).

  • Vehicles (Here you can add as many vehicles you want with the Name of the vehicle, spawncode "model", and what rank you need to see the vehicle).

{
    spawner = vector4(0.0, 0.0, 0.0, 0.0),
    spawnpoint = vector4(0.0, 0.0, 0.0, 0.0),
    vehicles = {
        [1] = { vehiclename = 'Title', vehiclemodel = 'model', grade = 0 },
    },
},

3) I NEED A BLIP FOR MY NEW STATION

You can find a commented part, that is ready to be used. We have added the same code below for easy copy paste.

Here is also a short guide in what means what:

  • Enabled (Simply just mean if the blip is active or not).

  • Point (Is the exact location of the blip).

  • Sprite (Is the icon / symbol, that you want, you can find more here).

  • Colour (Is the color of the blip, you can find more colours here).

  • Title (Speaks for itself, but that is just the name of the blip).

{
    enabled = true,
    point = vector3(0.0, 0.0, 0.0),
    sprite = 60,
    scale = 0.6,
    colour = 3,
    title = "Police Depmartment",
},

4) I WANT MORE JOBS

In the Job Settings of the config, you can see the line called "Config.Jobname", in that line, you can basically add whatever job, that you want to be able to use the police features.

Config.Jobname = {'jobname1', 'jobname2', 'jobname3'}

5) I WANT MORE ARMORY ITEMS

You can find a commented part, that is ready to be used. We have added the same code below for easy copy paste.

Here is also a short guide in what means what:

  • Name (Name of the item, this needs to be the itemname not the label).

  • Price (What should this item cost in the armory).

  • Amount (How many of this item should there be in the armory).

  • Info (This is not really used, but normally it just tells more about the item).

  • Type (We suggest not change this, but it just checks if the item is an item or something else).

  • Slot (This is the slot location in the armory store, so this is very important, that it has the same number as the number inside the [] box).

  • Authorized Job Grades (Just means, what ranks has access to this item in the armory).

[19] = {
    name = "itemname",
    price = 0,
    amount = 1,
    info = {},
    type = "item",
    slot = 19,
    authorizedJobGrades = {0, 1, 2, 3, 4, 5, 6, 7}
},

Last updated