iLLeniumStudios / illenium-appearance

fivem-appearance for qb-core and ESX framework, packed with a lot of features
MIT License
237 stars 213 forks source link

Problems in version 1.10.3+ on esx #427

Open lush0n3 opened 1 month ago

lush0n3 commented 1 month ago

Hello, from version 1.10.3 onwards, there is an issue with the character respawning when offline and dead.

After several weeks searching for the problem, I came to the conclusion that this script is the one that revives the player but leaves him in a dead state, without the possibility of sending the distress call or even moving.

The function that changed is this. https://github.com/esx-framework/esx_core/blob/0bc232185aa05462d161638551f6bc7dbb7d7894/%5Bcore%5D/es_extended/client/main.lua#L41

Test video: https://streamable.com/2183th

Estoy usando: esx_extended - 1.10.6 esx_multicharacter - 1.10.6

The problem seems to occur in this function in your script https://github.com/iLLeniumStudios/illenium-appearance/blob/6967f9dc0affc051c4f9cd3a3c3cf1c30edf0aff/client/stats.lua#L15