mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-28 22:01:29 +00:00
a5623a203974032bcadbb2d73dd9492fd5e0f8d5
A grade that already exists in the database is skipped for the insert, but it was still written to ESX.Jobs. A second CreateJob call therefore replaced the stored name, label and salary in memory while the row itself kept the old values, and the two only agreed again after a restart. CreateJob now caches just the grades it inserted. Label and type of an existing job come from the database for the same reason. The grade lookup compares strings, so passing grade "1" for an existing grade 1 no longer inserts a second row.
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%