mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-29 01:08:54 +00:00
22ddbadd6ebc057aa3c30cd26e62ba42c7a7040c
The fallback skin is built from userData.sex, but that field does not exist yet at this point - it is only assigned further down when the identity data is read from the result row. The comparison therefore always ran against nil and every character without a saved skin fell back to the male model. result.sex holds the value already and is used a few lines later, so read it directly. Tested locally on artifact 25770 with a female character whose skin column is empty: the client used to receive skin.sex 0 and spawned as the male model, it now receives 1 and spawns female. A male character with an empty skin column still receives 0.
ESX Legacy
Discord - Website - Documentation
Want more resources? You can browse the Cfx.re Releases board for more!
ESX is the leading framework, trusted by over 12,000 communities to provide the highest quality roleplay servers on FiveM
💗 Supporters
Interested in helping us? Take a look at our patreon
| We would like to sincerely thank the following donors who helped fund the development of ESX. |
|---|
| Mohamad Buhamad - Michael Hein - RoadToSix - Montree Narathong |
| Saydoon - Muhannad alyamani - iSentrie - Wecity - Samuel Nicol |
| Kyle McShea - Artin - Mathias Christoffersen - Jaylan Yilmaz - Callum |
| CONGRESS KW - Michael Hein - Smery sitbon - daZepelin - CMF Community |
Description
Languages
JavaScript
62.3%
Lua
34.8%
TypeScript
1.2%
HTML
0.8%
CSS
0.7%
Other
0.2%