From d61a0134b68bb92d7cd041a34301c6f32395d215 Mon Sep 17 00:00:00 2001 From: Dev Capy <78591839+mr-capy@users.noreply.github.com> Date: Tue, 28 Jun 2022 00:21:47 +0500 Subject: [PATCH] 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 --- [esx_addons]/esx_lscustom/client/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/[esx_addons]/esx_lscustom/client/main.lua b/[esx_addons]/esx_lscustom/client/main.lua index e802f14c..c5c8b803 100644 --- a/[esx_addons]/esx_lscustom/client/main.lua +++ b/[esx_addons]/esx_lscustom/client/main.lua @@ -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)