- Added weight system by esx
- Added blibs can put invisiable
Buy New Version Here
Price: 15.47β¬ + tax
You can get this script in my store: https://vincent-development.tebex.io/package/5422025
Buy New Version Here
Price: 15.47β¬ + tax
You can get this script in my store: https://vincent-development.tebex.io/package/5422025
where are the location coordinates
do u have any videos or picks of the plants/items to collect
Thanks
Yeah i add Some picks in a few Std
Hello there, but there is no markup to collect!
the sql has an error for me
You probably use weight instead of limit. Just change limit to weight.
Sql File - Linie 23 - Needs to be added on end β,β if you can just update it becouse there is a lot of noobs.
the farms dosent work, i press to harvest coca leaf or weed and it does nothing
EDIT : my bad cuz i cant read itβs using limit, so for those who use weight do this
server main lua line 54
ESX.RegisterServerCallback('esx_illegal:canPickUp', function(source, cb, item)
local xPlayer = ESX.GetPlayerFromId(source)
local xItem = xPlayer.getInventoryItem(item)
if xItem.weight ~= -1 and xItem.count >= xItem.weight then
cb(false)
else
cb(true)
end
end)
After that enter in every βdrugβ lua from server and edit LIMIT to Weight like so
Example coke.lua
line 8 to 13
RegisterServerEvent('esx_illegal:pickedUpCocaLeaf')
AddEventHandler('esx_illegal:pickedUpCocaLeaf', function()
local xPlayer = ESX.GetPlayerFromId(source)
local xItem = xPlayer.getInventoryItem('coca_leaf')
if xItem.weight ~= -1 and (xItem.count + 1) > xItem.weight then
TriggerClientEvent('esx:showNotification', _source, _U('coca_leaf_inventoryfull'))
else
xPlayer.addInventoryItem(xItem.name, 1)
end
end)
You must replace ~= to == Everywhere weed.lua, coke.lua etc.