mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-29 01:08:54 +00:00
0fb74a74ef82f677ba8b45a3222c32ca43eb969e
The quantity dialog resolved its promise with nil on an invalid amount, so the give/remove had already aborted by the time the player typed a valid value. The dialog stayed open and a corrected amount did nothing. Dropping the early resolve leaves the promise pending, so the same open dialog accepts the retry and drops/gives the item. Cancel still resolves nil. Tested on artifact 25770: entered an over-count amount, got "invalid amount", corrected to a valid amount. Before, nothing happened; after, the item was dropped.
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%