Security HUD
System Watchdog
×
Threads Scanned
-- / --
SYS. LOAD --%
AI SHIELD ACTIVE
DMCA Policy
×

📋 DMCA Compliance

This platform and community fully complies with the Digital Millennium Copyright Act (DMCA) and international copyright laws. We take all copyright protection seriously.

🛡️ Copyright Protection

If you believe a posted item belongs to you or violates your copyright, you may file a DMCA takedown request through our official channels. Upon receiving a valid claim, the infringing content will be removed within 24 hours.

What's new
×
Fiveguard

Question Esx_legacy skinchanger error

akira12050

Bronze Elite
Joined
Mar 28, 2022
Messages
14
Reaction score
21
Points
166
Location
Hong Kong
Our server is base on ESX_legacy.
When someone want to create a new character after finish the identity part and go to skinchanger, the interface of skinchanger will shut down automatically in 1-2 second without confirming and character stuck at the skin changing place cannot move or open the inventory.
The live console do not shows any error.
Any dev can help us to figure out the problem?
 

lua.broski

Bronze Elite
Joined
May 10, 2023
Messages
10
Reaction score
3
Points
156
Location
Lua Land
It could be problem if you are using esx_multicharacter, kashacters or any multi char and its not setup propertly and its not loading like it should. You dont get any errors in both consoles ?
 

akira12050

Bronze Elite
Joined
Mar 28, 2022
Messages
14
Reaction score
21
Points
166
Location
Hong Kong
It could be problem if you are using esx_multicharacter, kashacters or any multi char and its not setup propertly and its not loading like it should. You dont get any errors in both consoles ?
Thanks for your reply!
We are using esx_multicharacter
F8 console shows following problem and server console don't show any error
 

Attachments

  • 20230510185827_1.jpg
    20230510185827_1.jpg
    401.2 KB · Views: 246

akira12050

Bronze Elite
Joined
Mar 28, 2022
Messages
14
Reaction score
21
Points
166
Location
Hong Kong
Will it be error occur in es_extended?
We try to remove a line ( ESX.PlayerLoaded = true) character can move but some script is bugged.

RegisterNetEvent('esx:playerLoaded')
AddEventHandler('esx:playerLoaded', function(xPlayer, isNew, skin)
ESX.PlayerData = xPlayer

if Config.Multichar then
Wait(3000)
else
exports.spawnmanager:spawnPlayer({
x = ESX.PlayerData.coords.x,
y = ESX.PlayerData.coords.y,
z = ESX.PlayerData.coords.z + 0.25,
heading = ESX.PlayerData.coords.heading,
model = `mp_m_freemode_01`,
skipFade = false
}, function()
TriggerServerEvent('esx:eek:nPlayerSpawn')
TriggerEvent('esx:eek:nPlayerSpawn')
TriggerEvent('esx:restoreLoadout')

if isNew then
TriggerEvent('skinchanger:loadDefaultModel', skin.sex == 0)
elseif skin then
TriggerEvent('skinchanger:loadSkin', skin)
end

TriggerEvent('esx:loadingScreenOff')
ShutdownLoadingScreen()
ShutdownLoadingScreenNui()
end)
end

ESX.PlayerLoaded = true

while ESX.PlayerData.ped == nil do Wait(20) end
 
Top