GFX Development
  • gfx
    • About GFX
  • Product Docs
    • 📥GFX All in One Menu
      • 🛠️Setup
        • ⚙️Configuration
        • 📝Setting Permissions
      • 📒Informations
        • 💻For Developers
        • 👨‍💻Admin Commands
      • 🖇️Pages
        • 📄Profile
        • 📄Leaderboard
    • 🏎️GFX Racing
      • 🔨Installation
      • ⚙️Configuration
    • 📸GFX Deathcam
      • 🔨Installation
      • GFX Deathcam V1
        • ⚙️Configuration
      • GFX Deathcam V2
        • ⚙️Configuration
    • 📊GFX Leaderboard
      • 🔨Installation
      • ⚙️Configuration
    • ⚔️GFX Arena
      • 🔨Installation
      • ⚙️Configuration
    • 👨‍👨‍👦‍👦GFX Squad
      • 🔨Installation
      • ⚙️Configuration
      • 💻Exports
    • 🔬GFX Evidence
      • 🔨Installation
      • ⚙️Configuration
    • ❗GFX Notification
      • 🔨Installation
      • ⚙️Configuration
      • 💻Exports and Events
        • ⬆️Exports
        • ⬇️Events
    • 🚚GFX Delivery
      • 🔨Installation
      • ⚙️Configuration
    • 🛍️GFX Tebexshop
      • 🔨Installation
      • ⚙️Configuration
      • ⚠️Tebex Settings
      • ⬆️Exports
    • 👁️‍🗨️GFX Interact
      • 🔨Installation
      • ⬆️Exports
    • 🫂GFX Crew
      • 🔨Installation
      • ⚙️Configuration
      • ⬆️Exports
    • 🫂GFX Squad Remake
      • 🔨Installation
      • ⚙️Configuration
      • ⬆️Exports
    • GFX PVP Chat
      • 🔨Installation
      • ⚙️Configuration
      • ⬆️Exports
    • GFX HUD
      • 🔨Installation
      • ⚙️Configuration
    • 🔫GFX Attachment
      • 🔨Installation
      • ⚙️Configuration
    • 💀GFX Deathlog
      • 🔨Installation
      • ⚙️Configuration
    • 🛍️GFX PVP Shop
      • 🔨Installation
      • ⚙️Configuration
    • 🧱GFX Crafting
      • 🔨Installation
      • ⚙️Configuration
    • 🚍GFX Bus Job
      • 🔨Installation
      • ⚙️Configuration
    • 🐔GFX Chicken Farm
      • 🔨Installation
      • ⚙️Configuration
    • 🎁GFX Giveaway
      • 🔨Installation
      • ⚙️Configuration
    • 🛍️GFX Pawnshop
      • 🔨Installation
      • ⚙️Configuration
    • 🪵GFX Lumberjack
      • 🔨Installation
      • ⚙️Configuration
    • 🚙GFX Secondhand Vehicle
      • 🔨Installation
      • ⚙️Configuration
    • 🤖GFX Autopilot
      • 🔨Installation
      • ⚙️Configuration
    • 🗳️GFX Vote
      • 🔨Installation
      • ⚙️Configuration
    • 🟢GFX Safezone
      • 🔨Installation
      • ⚙️Configuration
    • 🎅GFX Christmastruck
      • 🔨Installation
      • ⚙️Configuration
    • 🚔GFX Handcuff
      • 🔨Installation
      • ⚙️Configuration
    • 🚚GFX Trucker Job
      • 🔨Installation
      • ⚙️Configuration
    • 🌱GFX Weed
      • 🔨Installation
      • ⚙️Configuration
    • 🔉GFX DUI Radio
      • 🔨Installation
      • ⚙️Configuration
Powered by GitBook
On this page
  1. Product Docs
  2. GFX Leaderboard

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

If you want to use the discord profile image you have to set the discord token.

SVConfig = {
    BotToken = "YOUR TOKEN HERE"
}

Fatal index must be 4 or 6. This index is changing depend on your server build. We don't know which build supports which index but if the script does not work without any errors, try to change the index to 4 or 6.

PreviousInstallationNextGFX Arena

Last updated 1 year ago

📊
⚙️