mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-04 08:13:21 +00:00
Major script improvements, see desc
- Moved zone to avoid problems with existing objects in the area - Removed possiblity to repair, clean & more from inside vehicles, and made sure only one action can be performed at the time - Added missing locale - General code improvements
This commit is contained in:
+2
-2
@@ -47,7 +47,7 @@ AddEventHandler('esx_mecanojob:stopHarvest', function()
|
||||
local _source = source
|
||||
PlayersHarvesting[_source] = false
|
||||
end)
|
||||
------------ Récupération Outils Réparation --------------
|
||||
|
||||
local function Harvest2(source)
|
||||
|
||||
SetTimeout(4000, function()
|
||||
@@ -317,7 +317,7 @@ AddEventHandler('esx_mecanojob:putStockItems', function(itemName, count)
|
||||
TriggerClientEvent('esx:showNotification', xPlayer.source, _U('invalid_quantity'))
|
||||
end
|
||||
|
||||
TriggerClientEvent('esx:showNotification', xPlayer.source, _U('you_added') .. count .. ' ' .. item.label)
|
||||
TriggerClientEvent('esx:showNotification', xPlayer.source, _U('have_deposited', count, item.label))
|
||||
|
||||
end)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user