Configuration

If you are using ox_lib, then for using ox_lib menu you must unblock 2 lines on fxmanifest.lua, then type to game/server console "refresh" and "ensure ug_adminclothing" Config.lua

Config.Framework = "newesx" -- newesx / oldesx / newqb / oldqb / autodetect
Config.Notification = "ESX" -- ESX / QB / other
Config.Menu = "esx" -- esx / ox / qb
Config.Appearance = "esx_skin" -- esx_skin / codem-appearance / qb-clothing
Config.Command = "setadmin" -- You can change for everything for you want

Config.GetPermissions

Config.GetPermissions = function()
    return  {
      ["youridentifier"] = true,
    }
end

This you setup like from ESX or QB like from database ESX: QBCore: Config.AdminClothes

Config.AdminClothes = { -- please only torso_1 and torso_2 block on you charcreator,clothes store too
  -- For ESX and Codem
  owner = { 
    m = {
      tshirt_1 = 57,
      tshirt_2 = 0,
      torso_1 = 414,
      torso_2 = 0,
      arms_1 = 12,
      arms_2 = 0,
      pants_1 = 143,
      pants_2 = 0,
      shoes_1 = 8,
      shoes_2 = 0,
      chain_1 = 0
    },
    f = {
      tshirt_1 = 10,
      tshirt_2 = 0,
      torso_1 = 440,
      torso_2 = 0,
      arms_1 = 5,
      arms_2 = 0,
      pants_1 = 150,
      pants_2 = 0,
      shoes_1 = 8,
      shoes_2 = 0,
      chain_1 = 0
    }
  },
  head = {
    m = {
      tshirt_1 = 57,
      tshirt_2 = 0,
      torso_1 = 414,
      torso_2 = 1,
      arms_1 = 12,
      arms_2 = 0,
      pants_1 = 143,
      pants_2 = 0,
      shoes_1 = 8,
      shoes_2 = 0,
      chain_1 = 0
    },
    f = {
      tshirt_1 = 10,
      tshirt_2 = 0,
      torso_1 = 440,
      torso_2 = 1,
      arms_1 = 5,
      arms_2 = 0,
      pants_1 = 150,
      pants_2 = 0,
      shoes_1 = 8,
      shoes_2 = 0,
      chain_1 = 0
    }
  },
  staff = {
    m = {
      tshirt_1 = 57,
      tshirt_2 = 0,
      torso_1 = 414,
      torso_2 = 2,
      arms_1 = 12,
      arms_2 = 0,
      pants_1 = 143,
      pants_2 = 0,
      shoes_1 = 8,
      shoes_2 = 0,
      chain_1 = 0
    },
    f = {
      tshirt_1 = 10,
      tshirt_2 = 0,
      torso_1 = 440,
      torso_2 = 2,
      arms_1 = 5,
      arms_2 = 0,
      pants_1 = 150,
      pants_2 = 0,
      shoes_1 = 8,
      shoes_2 = 0,
      chain_1 = 0
    }
  }
  -- FOR QB-clothing
--[[
  ["ownerm"] = {
    outfitData = {
      ['t-shirt'] = {item = 57, texture = 0},
      ['torso2'] = {item = 413, texture = 0},
      ['arms'] = {item = 12, texture = 0},
      ['pants'] = {item = 143, texture = 1},
      ['shoes'] = {item = 8, texture = 0},
      ['hat'] = {item = -1, texture = -1},
      ['glass'] = {item = 0, texture = 0},
      ['mask'] = {item = 0, texture = 0},
      ['accessory'] = {item = 0, texture = 0},
    }
  },
  ["ownerf"] = {
    outfitData ={
      ['t-shirt'] = {item = 10, texture = 0},
      ['torso2'] = {item = 440, texture = 0},
      ['arms'] = {item = 5, texture = 0},
      ['pants'] = {item = 150, texture = 0},
      ['shoes'] = {item = 8, texture = 0},
      ['hat'] = {item = -1, texture = -1},
      ['glass'] = {item = 0, texture = 0},
      ['mask'] = {item = 0, texture = 0},
      ['accessory'] = {item = 0, texture = 0},
    }
  },
  ["headm"] = {
    outfitData = {
      ['t-shirt'] = {item = 57, texture = 0},
      ['torso2'] = {item = 413, texture = 1},
      ['arms'] = {item = 12, texture = 0},
      ['pants'] = {item = 143, texture = 1},
      ['shoes'] = {item = 8, texture = 0},
      ['hat'] = {item = -1, texture = -1},
      ['glass'] = {item = 0, texture = 0},
      ['mask'] = {item = 0, texture = 0},
      ['accessory'] = {item = 0, texture = 0},
    }
  },
  ["headf"] = {
    outfitData ={
      ['t-shirt'] = {item = 10, texture = 0},
      ['torso2'] = {item = 440, texture = 1},
      ['arms'] = {item = 5, texture = 0},
      ['pants'] = {item = 150, texture = 0},
      ['shoes'] = {item = 8, texture = 0},
      ['hat'] = {item = -1, texture = -1},
      ['glass'] = {item = 0, texture = 0},
      ['mask'] = {item = 0, texture = 0},
      ['accessory'] = {item = 0, texture = 0},
    }
  },
  ["staffm"] = {
    outfitData = {
      ['t-shirt'] = {item = 57, texture = 0},
      ['torso2'] = {item = 413, texture = 2},
      ['arms'] = {item = 12, texture = 0},
      ['pants'] = {item = 143, texture = 1},
      ['shoes'] = {item = 8, texture = 0},
      ['hat'] = {item = -1, texture = -1},
      ['glass'] = {item = 0, texture = 0},
      ['mask'] = {item = 0, texture = 0},
      ['accessory'] = {item = 0, texture = 0},
    }
  },
  ["stafff"] = {
    outfitData ={
      ['t-shirt'] = {item = 1, texture = 0},
      ['torso2'] = {item = 440, texture = 2},
      ['arms'] = {item = 5, texture = 0},
      ['pants'] = {item = 150, texture = 0},
      ['shoes'] = {item = 8, texture = 0},
      ['hat'] = {item = -1, texture = -1},
      ['glass'] = {item = 0, texture = 0},
      ['mask'] = {item = 0, texture = 0},
      ['accessory'] = {item = 0, texture = 0},
      }
    }]]
}

Please if you are go using qb-clothing then block all and ublock QB-clothing list´s

Last updated