Commit Graph

509 Commits

Author SHA1 Message Date
Gellipapa 7510e91c2a 📦 Handle job counter with GlobalState 2023-09-04 23:51:27 +02:00
Gellipapa 715ee856ba ♻️ Little JobsPlayerCount refactor 2023-09-04 23:50:30 +02:00
Ilias Rbayti 9e404fa022 make sure values are >= 0. 2023-09-02 12:21:43 +02:00
Ilias Rbayti 5f3e37a7c9 requested changes #2 2023-09-02 12:10:30 +02:00
Ilias Rbayti fe64417bf4 requested change #1 2023-09-02 12:09:44 +02:00
Kenshin13 1203084a5c Update [core]/es_extended/server/functions.lua
Co-authored-by: Csoki <feketetibi71@gmail.com>
2023-08-28 11:15:16 +02:00
Ilias Rbayti 783976d5a4 Refactor GetNumPlayers function
Use cached job count data instead of enumerating over ESX.Players
2023-08-28 00:12:39 +02:00
Ilias Rbayti 29fdf896f9 Only returns a table if val param is also of type table.
More intuitive. If I want the job count of a single job "police", I don't expect a table as a return value, but the count directly.
2023-08-21 01:58:52 +02:00
Ilias Rbayti acd18c6b15 Added ESX.GetNumPlayers function 2023-08-21 01:26:59 +02:00
Jean-Baptiste f5eb5db5e6 Merge branch 'main' into dev 2023-07-10 23:40:07 +02:00
Jean-Baptiste 815945de5d change version name to 1.10.1 2023-07-10 23:30:14 +02:00
Jean-Baptiste e85f6ed135 versioning changes to comply with conventions 2023-07-10 23:21:58 +02:00
TheFantomas 9ce6ba1b83 refactor!(es_extended): Fix wheel saving (customWheels) 2023-07-10 22:40:32 +02:00
btwlouis 5c5b6be5a9 fix: handling playerPed & weaponHash variable 2023-07-10 20:00:28 +02:00
btwlouis f47979917d Update player.lua 2023-07-10 19:38:40 +02:00
btwlouis b744d3f69a fix: move playerPed outside of loop 2023-07-10 19:37:17 +02:00
btwlouis 518d7340d7 fix: move weaponHash outside of loop 2023-07-10 19:35:26 +02:00
btwlouis a2ca81d6ff fix(rpc): .removeWeapon function use rpc natives 2023-07-10 19:07:52 +02:00
btwlouis a63e75cd98 fix(rpc): remove esx:removeWeapon 2023-07-10 19:06:18 +02:00
nexis 4187b709ba Update functions.lua
drift tyres were not working because of a typo
2023-07-10 16:08:22 +02:00
Gellipapa 4bb98a8e0f 🚑 (esx_multcharacter/client) add new keys to enable list by @Arctos 2023-07-09 18:30:09 +02:00
Gellipapa df904a1968 📦 update(esx_identity/sl.lua) Update sl locales 2023-07-09 18:29:05 +02:00
Gellipapa 12bdb769d6 🔧 fix(esx_identit/client) registerNuiCallback cb 2023-07-09 18:28:19 +02:00
TheFantomas 9049c98d76 formatting(all): Format with prettier and lua formatter 2023-07-09 17:00:36 +02:00
Gellipapa 46ee1ddfce Merge pull request #1100 from Gellipapa/main
fix(esx_core/main.lua, function.lua)
2023-07-09 01:01:12 +02:00
Gellipapa 45f13e81e6 Merge branch 'dev' into dev 2023-07-09 00:37:42 +02:00
Gellipapa 332fa8a3d8 ⚰️ Remove ShowInventory method in add,remove inventory trigger 2023-07-08 21:04:30 +02:00
Gellipapa 80b8285db1 📦 Added lot of new stuff GetVehicle,SetVehicle properties
📦 Change extra ID range to 20
📦 RollupWindow in GetVehicleprops
📦 Add bulletprof tyres option
📦 Add vehicle roof livery
:fix: fix modWindows props
📦 replace SmashVehicleWindow to RemoveVehicleWindow
2023-07-08 21:02:07 +02:00
Gellipapa e6226d1394 Merge branch 'dev' into main 2023-07-07 21:38:45 +02:00
Gellipapa cfc6a86371 📦 Add new translate text
handle string value is only string not accepted number anymore
2023-07-07 21:32:17 +02:00
Gellipapa 866899e796 🚑 hotfix regsiter command in es_extended 2023-07-07 21:31:22 +02:00
Epyi 942b1a90c3 Merge branch 'esx-framework:dev' into dev 2023-07-06 14:46:14 +02:00
Epyi 525f83f266 Update esx_identity/locales/fr.lua
- Correction of some mistakes
2023-07-06 14:45:29 +02:00
Linden 713e77b660 fix(esx_multicharacter/server): only set databaseFound on match 2023-07-06 00:34:23 +10:00
Linden 7d0872746e fix(esx_multicharacter/server): don't rely on jobs for databaseConnected 2023-07-06 00:33:08 +10:00
Linden f8197b7d47 refactor(esx_multicharacter/server): await databaseConnected for setup 2023-07-06 00:32:35 +10:00
Linden 6234d5da9c refactor(esx_multicharacter/server): remove hacky jobs workaround 2023-07-06 00:31:56 +10:00
Linden 303ddcee55 fix(esx_multicharacter/server): indentation 2023-07-06 00:31:47 +10:00
Epyi da35da2d7b Update fr.lua
- Update fr language
- added languages that are in en.lua and missing in fr.lua
- removal of languages that are in fr.lua and missing from en.lua
2023-07-05 14:14:45 +02:00
TheFantomas f19b2cfe97 fix(es_extended): remove trailing whitespace 2023-07-01 21:55:23 +02:00
TheFantomas f22b78617a fix(esx_skin): unused variable 2023-07-01 21:53:38 +02:00
TheFantomas da04c37aaa fix(esx_context): Lint fixes 2023-07-01 21:46:02 +02:00
TheFantomas b130a152c8 refactor(esx_identity): jquery removal by MoskalykA 2023-07-01 18:54:57 +02:00
Jordi efbc18da9b Fix oxinventory.lua
mone -> money
2023-06-30 15:39:25 +02:00
thesysadmindev 2401677c58 Merge branch 'dev' into dev 2023-06-30 09:15:49 +10:00
thesysadmindev 5fc822299b refactor(es_extended/server/commands.lua) Added missed config
Added missed xPlayer.getName() config from group command.
2023-06-30 09:08:16 +10:00
TheFantomas 7294fe9b4e fix(player.lua): Change v.itemName 2023-06-29 23:09:15 +02:00
TheFantomas 684faffdc9 refactor(es_extended/config.lua): Remove default ESX Plates 2023-06-29 22:58:08 +02:00
TheFantomas 88c8036a24 formatting(core): Format all 2023-06-29 20:20:28 +02:00
Thekuca b81973b54b fix(lint): fix shadowing upvalue args and vars 2023-06-29 18:50:45 +02:00