fix(realestate): Corrected function

This commit is contained in:
Linden
2021-07-03 01:48:50 +10:00
parent 4ee9ec3a11
commit c54b2d5db0
@@ -304,8 +304,7 @@ AddEventHandler('esx_phone:loaded', function(phoneNumber, contacts)
end)
if ESX.PlayerLoaded and ESX.PlayerData.job.name == 'realestateagent' then
Config.Zones.OfficeActions.Type = 1
else
Config.Zones.OfficeActions.Type = -1
end
end)
Config.Zones.OfficeActions.Type = 1
else
Config.Zones.OfficeActions.Type = -1
end