
π»Installation
Dependencies
ES EXTENDED
You will need the latest version of esx_core.
Extract the contents of the archive to your resources folder.
Start the resource near the top of your resources in your server.cfg.
Remove Commands
/setgang command
go to qb-core/server/commands and comment this :
QBCore.Commands.Add('setgang', Lang:t('command.setgang.help'), { { name = Lang:t('command.setgang.params.id.name'), help = Lang:t('command.setgang.params.id.help') }, { name = Lang:t('command.setgang.params.gang.name'), help = Lang:t('command.setgang.params.gang.help') }, { name = Lang:t('command.setgang.params.grade.name'), help = Lang:t('command.setgang.params.grade.help') } }, true, function(source, args)
local Player = QBCore.Functions.GetPlayer(tonumber(args[1]))
if Player then
Player.Functions.SetGang(tostring(args[2]), tonumber(args[3]))
else
TriggerClientEvent('QBCore:Notify', source, Lang:t('error.not_online'), 'error')
end
end, 'admin')/gang command
go to qb-core/server/commands and comment this :
QBCore.Commands.Add('gang', Lang:t('command.gang.help'), {}, false, function(source)
local PlayerGang = QBCore.Functions.GetPlayer(source).PlayerData.gang
TriggerClientEvent('QBCore:Notify', source, Lang:t('info.gang_info', { value = PlayerGang.label, value2 = PlayerGang.grade.name }))
end, 'user')Cornerselling
Add this into your radialmenu
for example : qb-radialmenu/config.lua
{
id = "sell-drugs",
displayName = "Sell Drugs",
icon = "#weed-cultivation",
functionName = "zat-gangs:client:cornerselling",
enableMenu = function()
return true
end,
},Make sure you have the dependencies listed above installed.
Extract the contents of the archive to your resources folder.
OX INVENTORY
Add items to ox_inventory/data/items.lua
Add this into ox_inventory/modules/itmes/client.lua
Add the images inside your ox_inventory/web/images.
QS INVENTORY
Add the items below into qs-inventory/shared/items.lua
Add the code below into qs-inventory/server/custom/misc/createuseableitems.lua:
Add the images inside your qs_inventory/html/images.
Ensure Resources
Last updated