Yianss 1b3225d8f6 Update the way jobrep metadata is handled
When you add a new job, existing players cannot get jobrep for it because the original jobrep metadata is always loaded instead. With this method, existing players can get jobrep for new jobs.

This checks to make sure that jobrep metadata isn't nil so that new players do not get stuck in an infinite loop, and instead creates new jobrep metadata for them.

There may be a better way to do this, but this works.
2021-12-27 02:49:34 -05:00
2021-09-24 23:57:49 -05:00
2021-11-30 21:44:30 -06:00
2021-12-03 03:19:05 -05:00
2021-11-10 00:46:51 -06:00
2021-09-14 23:20:11 +02:00
2021-11-03 17:21:12 +11:00
2021-10-17 11:14:37 +03:00
2021-12-20 23:16:33 +00:00

qb-core

Official QBCore Documentation

License

QBCore Framework
Copyright (C) 2021 Joshua Eger

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>
S
Description
FiveM RP Framework Core 💪
Readme GPL-3.0 4.2 MiB
Languages
Lua 98.2%
JavaScript 1.1%
CSS 0.6%
HTML 0.1%