⚙️Configuration

Check the instructions below.

  • Set your sql script

Config.SQLScript = "oxmysql" -- oxmysql // ghmattimysql // mysql-async
  • Set your framework

Config.Framework = "newqb" -- old-qb // esx // newesx  // standalone
  • You can set the auto database save interval

Config.SaveInterval = 30 -- // minutes
  • Don't change fatal index unless you know what you are doing. Check the warning below.

Config.FatalIndex = 4-- 4 // 6
  • Don't change the weapon index too.

Config.WeaponIndex = 7
  • You can set the default picture for players who does not have one.

Config.NoImage= "Image Link", 
  • Set the details of ped placements

    • Set enable true/false to place the peds for the type of stat.

    • You can set the platform color

    • Make the adjustments about coordinates

["kills"] = {
    enable = true,
    platformColor = "red", -- orange, blue, red, green
    platformCoords = {
        coords = vector3(335.6818, -214.365, 53.15),
        heading = 112.0
    },
    pedCoords = {
        [1] = vector4(335.4909, -214.335, 55.149 - 0.98, 70.649436950684),
        [2] = vector4(334.9718, -215.868, 54.725 - 0.98, 75.854934692383),
        [3] = vector4(336.1073, -212.936, 55.504 - 0.98, 75.854934692383)
    }
},
  • Don't forget to set weapon labels and weapon hashes. Otherwise you might encounter with errors.

["weapon_microsmg"] = "Micro SMG", -- example of weapon label
[GetHashKey("weapon_pistol50")] = "weapon_pistol50", -- example of weapon hash

Last updated