update to new esx_mechanicjob name

This commit is contained in:
RedAlex
2019-01-25 21:22:23 -05:00
parent 82b547cebd
commit cdb083c13f
3 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -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