fix:(esx_lscustoms) markers issue

cannot use lscustom markers when you enable only for mechanic  and when on duty mechanic restart his game after loaded into game he was not able to use markers this will fix it
This commit is contained in:
Dev Capy
2022-06-28 00:21:47 +05:00
committed by GitHub
parent 70eb108463
commit d61a0134b6
+1 -1
View File
@@ -4,7 +4,7 @@ local lsMenuIsShowed, HintDisplayed, isInLSMarker = false, false, false
RegisterNetEvent('esx:playerLoaded')
AddEventHandler('esx:playerLoaded', function(xPlayer)
ESX.PlayerLoaded = true
ESX.PlayerData = xPlayer
ESX.TriggerServerCallback('esx_lscustom:getVehiclesPrices', function(vehicles)
Vehicles = vehicles
end)