Skip to content

theenack/qb-inventory-prisonwallet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

qb-inventory-prisonwallet

Remove prison wallet

Removing the locked 6th slot in lj-inventory or qb-inventory So in qb-core/config.lua edit the max slots from 41 to 40 Before: QBConfig.Player.MaxInvSlots = 41 -- Max inventory slots for a player After: QBConfig.Player.MaxInvSlots = 40 -- Max inventory slots for a player

Also in lj-iventory/config.lua change the max slots from 41 to 40 Before: MaxInventorySlots = 41 After: MaxInventorySlots = 40

Also in lj-iventory/html/js/app.js comment out line 2890 to 2892 var elem = '

6

 

'; $(".z-hotbar-inventory").append(elem);

//var elem = //'

6

 

'; //$(".z-hotbar-inventory").append(elem);

Go into qb-inventory(lj-inventory) -> server -> main.lua and delete the minus one below. This is in the main folder twice so you needa delete the -1 in 2 spots. if Player.PlayerData.job.name == "police" and Player.PlayerData.job.onduty then secondInv.slots = QBCore.Config.Player.MaxInvSlots else secondInv.slots = QBCore.Config.Player.MaxInvSlots - 1 end

About

Remove prison wallet

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published