mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-29 01:08:54 +00:00
fix(legacy/multichar): Do not retrieve skin if esx_multicharacter is enabled
This commit is contained in:
+1
-1
@@ -255,7 +255,7 @@ AddEventHandler('esx:onPlayerSpawn', function()
|
||||
Citizen.Wait(100)
|
||||
end
|
||||
|
||||
if firstSpawn then
|
||||
if firstSpawn and ESX.GetConfig().Multichar ~= true then
|
||||
ESX.TriggerServerCallback('esx_skin:getPlayerSkin', function(skin, jobSkin)
|
||||
if skin == nil then
|
||||
TriggerEvent('skinchanger:loadSkin', {sex = 0}, OpenSaveableMenu)
|
||||
|
||||
Reference in New Issue
Block a user