Commit Graph

791 Commits

Author SHA1 Message Date
Thekuca 0bb956414b feat(classes/player): added an admin flag inside the obj for easier check 2023-09-03 15:30:50 +02:00
Arctos2win 45c4b66608 improve fetching identifier in es_extended ( same way as in multichar ) 2023-09-03 11:20:57 +02:00
Arctos2win 87e94c8193 update little thing 2023-09-02 15:48:25 +02:00
Gellipapa 7c49c8afac Merge pull request #1195 from Arctos2win/patch-8
Improve the way the identifier is fetched
2023-09-02 15:13:53 +02:00
Arctos2win 7978485b7a update to requested changes 2023-09-02 13:42:25 +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
Gellipapa 845f0a533d Merge pull request #1194 from MoskalykA/disable-ammunition-display
feat: be able to disable ammunition display
2023-09-02 10:11:15 +02:00
Arctos2win d755a57e8f Improve the way the identifier is fetched 2023-09-01 17:58:06 +02:00
MoskalykA b58e2ac467 feat: be able to disable ammunition display 2023-08-30 14:13:11 +02:00
Gellipapa d8b237121a Merge branch 'dev' into dev 2023-08-29 20:59:24 +02:00
Gellipapa 0b82dbccec 📦 save health and armour in the metadata, and load the metadata when the player joins 2023-08-29 20:52: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
Csoki 534bbb99cf Merge pull request #1183 from YOMAN1792/main
Update main.lua
2023-08-27 09:02:57 +02:00
Gellipapa e6775ef17d Merge pull request #1173 from KadDarem/fix-spawn-utility-vehicle
Fixed the spawn of vehicle with "Utility" class
2023-08-25 19:27:24 +02:00
Gellipapa a545b20740 Merge pull request #1161 from Kenshiin13/Security-Updates
Security Enhancement: Distance Check for 'esx:onPickup' Event
2023-08-25 17:43:39 +02:00
Lenny 9272145c0f Update de.lua 2023-08-25 16:25:30 +02:00
Lenny 6539071a97 Update de.lua 2023-08-25 16:13:19 +02:00
Jordi 7908d11e98 Fix es_extended/server/main.lua 2023-08-24 17:52:58 +01:00
KadDarem 317c096600 delete commented line 2023-08-24 08:29:49 +02:00
Gellipapa 333cc29ee5 📦 Update ESX.PlayerData coords 2023-08-24 01:05:49 +02:00
Arctos2win 4e197d3c1d Update main.lua 2023-08-23 21:14:04 +02:00
Ilias Rbayti 1b27475ce1 Refactor param name 'type' 2023-08-23 21:06:04 +02:00
YOMAN1792 847feb055d Update main.lua
Fixed a syntax error
2023-08-23 12:49:26 -04:00
Arctos2win ce96e4ab20 automaticly stop resources that are breaking esx 2023-08-23 01:37:25 +02:00
TheFantomas 9bf7e1248b Merge pull request #1171 from epyidev/dev-2
translate(fr.lua): Add missing translations for Drug Wars DLC
2023-08-21 19:28:04 +02:00
KadDarem 993a87fc13 Fixed the spawn of vehicle with "Utility" class 2023-08-21 12:43:28 +02:00
Epyi f19080f890 Update fr.lua 2023-08-21 09:31:59 +02:00
Arctos2win 77cbe8d388 Update commands.lua
this command would break if someone leaves and would 
stop counting at the first nil value in the list. 

you can get the length of the table to get the online players message in front but that would be less performant.
2023-08-21 02:08:51 +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
Arctos2win d0b3334e34 Update main.lua 2023-08-21 00:56:50 +02:00
Xray acd565f2f9 Update it.lua
Fixed some missing translations
2023-08-20 23:20:40 +02:00
TheFantomas fd4b63d3cd whistespace 2023-08-20 23:02:32 +02:00
TheFantomas 81a2346589 Merge branch 'dev' into update-nl 2023-08-20 23:01:43 +02:00
TheFantomas 69e4b79903 Merge pull request #1164 from Arctos2win/other-weapons
Add new weapons to en.lua from Drug wars dlc
2023-08-20 22:52:08 +02:00
Ilias Rbayti 92d6f49464 Added ability to spawn pickup at any given coordinate 2023-08-20 18:56:25 +02:00
Arctos2win bcbc3ef36f Update en.lua 2023-08-20 18:03:42 +02:00
Arctos2win 7bcc1a627f Update nl.lua 2023-08-20 17:57:41 +02:00
Arctos2win 0c6ed5dc02 Update nl.lua 2023-08-20 17:56:46 +02:00
Arctos2win 26026651bb Update nl.lua 2023-08-20 17:56:14 +02:00
Arctos2win 3c1f9bf1e5 Update nl.lua 2023-08-20 17:55:03 +02:00
Arctos2win d6d340e72b Update nl.lua 2023-08-20 17:53:13 +02:00
Epyi f7fe52cb27 Update fr.lua 2023-08-20 15:01:25 +02:00
Epyi a51b6d623b Update fr.lua 2023-08-20 14:46:42 +02:00
TheFantomas 5cc9009aaf Merge pull request #1148 from YOMAN1792/dev-2
translate(skinchanger): Update fr.lua
2023-08-20 14:34:03 +02:00
TheFantomas e117d8e700 Merge pull request #1147 from YOMAN1792/dev-1
translate(esx_core): Add missing translations for esx_multicharacter
2023-08-20 14:26:49 +02:00
Ilias Rbayti aa1ea636e4 Add distance check for net-safe event "esx:onPickup" 2023-08-20 05:31:18 +02:00