SNAILX 080bf97283 fix: delay ox_inventory load until character registration completes in non-multicharacter
Delay ox_inventory load until character identity is set (non-multicharacter)
Inventory was loading before firstName were assigned to new
characters when multicharacter was disabled.

Fix/Changes:
* Check if multicharacter is disabled (Config.Multichar)
* Identify new characters (isNew flag)
* Wait for firstName to be registered
* Implement 2-minute timeout to prevent infinite loops
* Log warning if registration fails to complete in time
* Continue loading inventory anyway after timeout

Ensures identity data loads before inventory initializes
2025-10-17 23:32:35 +01:00
2025-07-28 11:38:03 +02:00
2025-10-01 22:16:13 -05:00

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

S
Description
Official Repo For core resources for esx-legacy
Readme 49 MiB
Languages
JavaScript 62.3%
Lua 34.8%
TypeScript 1.2%
HTML 0.8%
CSS 0.7%
Other 0.2%