Commit Graph

584 Commits

Author SHA1 Message Date
RavenState 2cfa7df26a added german translation
for society and corrected job_police de translation
2020-05-12 12:08:34 +02:00
Jérémie N'gadi dea2af3c7a Merge pull request #724 from p-josue/patch-2
Add maxCarryItem function
2020-05-11 22:53:30 +02:00
Jérémie N'gadi a33e5982d3 fixing the fix 2020-05-11 22:50:25 +02:00
Jérémie N'gadi 9ad9c31b8c Add missing default job / job_grades 2020-05-11 22:48:25 +02:00
Jérémie N'gadi 515c286e01 Remove skin from base sql 2020-05-11 22:45:21 +02:00
Jérémie N'gadi f8c3dd3b2f ensure base as first migration 2020-05-11 22:43:15 +02:00
Jérémie N'gadi 3ef71f7d35 ensure migration order 2020-05-11 22:41:56 +02:00
Jérémie N'gadi 1d9f33c70a bring back missing folders 2020-05-11 21:54:33 +02:00
Jérémie N'gadi 85a8e5d8a1 fixes for society and police 2020-05-11 21:46:04 +02:00
Jérémie N'gadi 960998037e optimizations + more modules 2020-05-11 19:23:02 +02:00
p-josue e7978c2380 Add maxCarryItem function
A function that returns the max number of item that this player can carry
2020-05-11 18:08:25 +02:00
Jérémie N'gadi bc5ac22bda remove container module TODO work on it 2020-05-11 14:11:22 +02:00
Jérémie N'gadi 4fa7c557e1 fix typo 2020-05-11 14:07:12 +02:00
Jérémie N'gadi 29d2a48a12 Added some modules + Experimental SQL auto-migration stuff 2020-05-11 14:05:00 +02:00
Jérémie N'gadi 390cce6195 single resource concept + first attempt to reorganize code 2020-05-11 04:21:10 +02:00
FuraXx 383aceffb4 update readme
- iceline removal
- update of the discord link
- fvm removal
2020-05-09 13:51:46 +02:00
Samuel 10a45da29b Merge pull request #714 from MaLaGeBe/master
Update simplified Chinese translation and traditional Chinese translation
2020-04-24 17:01:43 +02:00
麻辣戈壁 71459c4ad8 Update simplified Chinese translation and traditional Chinese Translation 2020-04-24 22:11:17 +08:00
ElPumpo 04bfce640e ESX is no longer short for anything 2020-04-24 16:09:53 +02:00
ElPumpo 7d7f72082a Only grant ace permission if needed (even if fivem devs changed the behaviour) 2020-04-24 15:23:25 +02:00
ElPumpo cb9038c911 Fixed #709 throwing weapons, fixed throwing weapons missing components, added player join msg 2020-04-24 15:18:16 +02:00
ElPumpo 990feb9ca9 Fixed "Changing ones own access is not permitted" 2020-04-22 12:25:55 +02:00
ElPumpo c8381b1b4e Removed ESX.Game.GetClosestPlayer() second argument "modelFilter" 2020-04-22 11:35:04 +02:00
Samuel 6067935d09 Merge pull request #699 from AvarianKnight/master
Add vehicle tank health
2020-04-21 22:30:44 +02:00
AvarianKnight a9658e0eb8 add tank health 2020-04-21 13:42:07 -05:00
userMacieG d6aeab0f7b Updated Polish translation (#676)
* Update pl.lua

* Update pl.lua

* Update pl.lua
2020-04-21 09:09:40 +02:00
ElPumpo c375761c6f Improved bad pickup code 2020-04-20 23:57:14 +02:00
ElPumpo 0647f4e77f Fixed stuck on loading screen, fixed player falling trough world, fixed #678 2020-04-20 11:31:19 +02:00
ElPumpo 849da573bf Replaced isLoadoutLoaded variable with a function, removed enable pvp configuration 2020-04-19 11:54:51 +02:00
ElPumpo 33e928008e Fixed StopResource() not allowing some resources to be stopped 2020-04-19 11:53:45 +02:00
Lucas ab3cf826da Implemented ShowFloatingHelpNotification() (#662)
* Implement Floating Text

use `ESX.ShowFloatingHelpNotification("lol")` in a loop

* Removed beep and broken duration, fixed indent

Co-authored-by: Lucas <63737942+SSNIKRS@users.noreply.github.com>
Co-authored-by: ElPumpo <samo_kol@hotmail.com>
2020-04-15 20:44:36 +02:00
ElPumpo 17ac9d5846 Fixed mistakes with fuctions returning lists of players
Fixed some ESX functions that are used to get the closests, I forgot that the functions should've returned the player and not the entity handle :/

Also fixed the ESX.Game.GetClosestPed() function just returning your own ped.

Thanks @SSNRSS for helping me iron out the problems!

Co-Authored-By: Lucas. <ssnrss@users.noreply.github.com>
2020-04-15 20:08:00 +02:00
ElPumpo bd76482cae Minor adjustments, changed sql database name 2020-04-14 16:45:28 +02:00
SW1FT 5f9fc94c4d Fixed English locale typos (#659)
* Minor en locale changes

* Forgot this one
2020-04-14 14:58:34 +02:00
ElPumpo 6a0f3ca452 Fixed untested new code :/ 2020-04-14 13:58:40 +02:00
ElPumpo cf7f6b14f4 Finished new code, closes #249
Co-Authored-By: Lén <corbeau.lenaic@gmail.com>
2020-04-14 13:25:45 +02:00
ElPumpo 5562712975 ⚠️⚠️BREAKING COMMIT⚠️⚠️: Merged dupe client functions code
This changes arguments on the following functions:
- ESX.Game.GetClosestObject()
- ESX.Game.GetPeds(), no more arg for ignoreList
- ESX.Game.GetClosestPed(), no longer a ignore list, instead a whitelist
2020-04-14 13:08:10 +02:00
ElPumpo e772031094 Fixed some cases of shadowing upvalue 2020-04-14 10:42:03 +02:00
ElPumpo 26ac44b35b Hopefully fixed #633 2020-04-14 10:29:30 +02:00
ElPumpo 779afff503 Fixed typos in locales, closes #658 2020-04-14 10:23:55 +02:00
ElPumpo 71e24f0a72 Fixed while statement 2020-04-13 19:02:56 +02:00
ElPumpo 238bcae7c0 Stop incompatible resources (see description)
Automaticly stop resources that

- a) not compatible with ESX, for example spawnmanager
- b) does the same as esx does, but what esx probably does better
2020-04-13 17:50:20 +02:00
ElPumpo 2b58041abb Added default map name & game type
Co-Authored-By: Thuan Truong <newt74@users.noreply.github.com>
2020-04-13 16:33:00 +02:00
ElPumpo d707b60493 Added timeout on HasCollisionLoadedAroundEntity() 2020-04-12 18:11:35 +02:00
ElPumpo ddd3a88336 Minor variable renaming 2020-04-11 11:55:27 +02:00
ElPumpo 8de2e4311a Unload model where applicable 2020-04-11 11:53:50 +02:00
Samuel b8cf86532f Merge pull request #637 from Profex1999/patch-1
Fix removeWeaponComponent not working correctly
2020-04-09 17:54:55 +02:00
Andrea Passarini 9f1a18d420 Fix removeWeaponComponent not working correctly 2020-04-07 04:43:24 +02:00
ElPumpo b0215b9671 Fixed isDead variable not updating properly, closes #635
Co-Authored-By: pitermcflebor <pitermcflebor@users.noreply.github.com>
2020-04-06 17:59:40 +02:00
ElPumpo 492f41ca45 Don't spam request asset natives 2020-04-06 13:19:34 +02:00