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 Arena

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 coordinates that players will be teleported after game ends.

Config.FinishCoords = vector3(x, y, z),
  • Don't change fatal index unless you know what you are doing. Check the warning below.

Config.FatalIndex = 4-- 4 // 6
  • You can set the preparation time in seconds here.

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

Config.NoImage= "Image Link", 
  • Set the details of maps and peds placements

    • Set the name of map.

    • Set the image of map.

    • First coordinates are the spawn locations of first and second team players.

  • Set the details of end match screen.

    • Set enable to true or false to show or hide the winner team after thee match.

    • Set the coordinates of winner team players will be shown.

    • Set the cam coordinates and rotations.

{
    name = "Arena 1",
    image = "Map Image Link or Path",
    coords = {
        [1] = {
            vector4(x,y,z,h),
            vector4(x,y,z,h),
            vector4(x,y,z,h),
            vector4(x,y,z,h),
        },
        [2] = {
            vector4(x,y,z,h),
            vector4(x,y,z,h),
            vector4(x,y,z,h),
            vector4(x,y,z,h),
        }  
    },
    endMatchScreen = {
        enabled = true,
        pedCoords = {
            vector4(x,y,z,h),
            vector4(x,y,z,h),
            vector4(x,y,z,h),
            vector4(x,y,z,h),
        },
        camSettings = {
            pos = vector3(x, y, z),
            rot = vector3(x,y,z),
            fov = 60.0,
        }
    },
},

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 Squad

Last updated 1 year ago

⚔️
⚙️