mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-03 03:38:50 +00:00
update to new esx_mechanicjob name
This commit is contained in:
+2
-2
@@ -8,10 +8,10 @@ AddEventHandler('esx_lscustom:buyMod', function(price)
|
||||
local xPlayer = ESX.GetPlayerFromId(_source)
|
||||
price = tonumber(price)
|
||||
|
||||
if Config.IsMecanoJobOnly then
|
||||
if Config.IsMechanicJobOnly then
|
||||
|
||||
local societyAccount = nil
|
||||
TriggerEvent('esx_addonaccount:getSharedAccount', 'society_mecano', function(account)
|
||||
TriggerEvent('esx_addonaccount:getSharedAccount', 'society_mechanic', function(account)
|
||||
societyAccount = account
|
||||
end)
|
||||
if price < societyAccount.money then
|
||||
|
||||
Reference in New Issue
Block a user