⚙️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,
        }
    },
},

Last updated