From 2c3507548ba66dfd9ad57a368afde83f694e2687 Mon Sep 17 00:00:00 2001 From: PyschoShock <94499608+PsychoShock@users.noreply.github.com> Date: Sun, 25 Sep 2022 13:16:08 -0400 Subject: [PATCH] remove(playerload/function): duplicate ```lua RegisterNetEvent('esx:playerLoaded') AddEventHandler('esx:playerLoaded', function(xPlayer) ESX.PlayerData = xPlayer ESX.PlayerLoaded = true RefreshBussHUD() end) ``` Is there already --- [esx_addons]/esx_society/client/main.lua | 2 -- 1 file changed, 2 deletions(-) diff --git a/[esx_addons]/esx_society/client/main.lua b/[esx_addons]/esx_society/client/main.lua index ea3bde60..5dce5700 100644 --- a/[esx_addons]/esx_society/client/main.lua +++ b/[esx_addons]/esx_society/client/main.lua @@ -349,5 +349,3 @@ end AddEventHandler('esx_society:openBossMenu', function(society, close, options) OpenBossMenu(society, close, options) end) - -if ESX.PlayerLoaded then RefreshBussHUD() end \ No newline at end of file