Commit Graph

191 Commits

Author SHA1 Message Date
MiddleSkillz 8f91023bd9 Added Some More Stuff 2021-05-05 01:18:20 -06:00
Mycroft 5b1e5b9ea4 add more commands 2021-05-03 23:32:02 +01:00
Mycroft c8c8ffeb4d add features 2021-05-03 22:37:02 +01:00
Mycroft 1f69396992 Update main.lua 2021-05-03 21:48:22 +01:00
Mycroft 6c7b3ecf9e tweaks 2021-05-03 20:39:18 +01:00
Mycroft 9212219d46 changes 2021-05-03 20:04:39 +01:00
Mycroft c4add91157 things 2021-04-29 23:04:36 +01:00
Mycroft 7d2488e40c config 2021-04-29 19:53:32 +01:00
Mycroft bee2165105 Kashacter 2021-04-29 18:39:31 +01:00
Mycroft 4b2d95059c Updates 2021-04-28 21:42:12 +01:00
Mycroft bac6cbbb7e add commands 2021-04-26 19:05:58 +01:00
Mycroft 78c950f9b1 Add Config 2021-04-26 16:21:56 +01:00
Satria Adhi a62890cc56 fix give_ammo, mistake from fixed #633 2020-05-16 19:43:30 +07:00
ArkSeyonet ce48aa26c9 Update for es_extended
Merged Config option into normal code due to it not affecting any compatibility anywhere
2020-05-15 17:14:08 -05:00
Jérémie N'gadi 947f2184ff Revert "pt-PT Translation pt.lua" 2020-05-15 18:21:28 +02:00
Jérémie N'gadi 5a21e759a9 Merge pull request #737 from ESX-Org/develop
pt-PT Translation pt.lua
2020-05-15 18:16:58 +02:00
heyheyitsmeman 30fc31bbb7 Update functions.lua 2020-05-15 13:36:45 +03:00
Biromain ed3ca145a2 Some utils function 2020-05-13 20:56:58 +02:00
Github d5cad4a911 Added progressbar 2020-05-13 15:44:38 +01:00
Jérémie N'gadi 960998037e optimizations + more modules 2020-05-11 19:23:02 +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
ElPumpo cb9038c911 Fixed #709 throwing weapons, fixed throwing weapons missing components, added player join msg 2020-04-24 15:18:16 +02:00
ElPumpo c8381b1b4e Removed ESX.Game.GetClosestPlayer() second argument "modelFilter" 2020-04-22 11:35:04 +02:00
AvarianKnight a9658e0eb8 add tank health 2020-04-21 13:42:07 -05: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
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
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 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
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
ElPumpo 2c2978feaa Replaced coords sync interval with sync every second
Because xPlayer.getCoords() has uses it cant be out of sync code
2020-04-06 12:09:06 +02:00
Jesús 1f61585917 Fixed collisions of pickups items and weapons
Fixed character and car collisions with objects lying on the ground (also weapons and the bat itself).
2020-04-04 19:03:34 +02:00
RoJea32 6c70abd5e8 Fix "attempt to index a nil value field ('?')" (#612)
* Update main.lua

* Update main.lua
2020-03-31 11:24:30 +02:00
ElPumpo 77e810ce95 Fixed setting vehicle pearlescent color
Co-Authored-By: Daniel Hawton <daniel@hawton.org>
Co-Authored-By: ChainTastic <chaintastic@users.noreply.github.com>
2020-03-26 12:10:45 +01:00
ElPumpo 09e50046c0 Only apply a player model if coming from loading screen 2020-03-26 11:24:51 +01:00
ElPumpo be2dc2e9e2 Minor adjustments 2020-03-25 22:45:23 +01:00
ElPumpo 8a586e433c ⚠️⚠️BREAKING COMMIT⚠️⚠️: mapmanager & spawnmanager ditch
Make sure you remove or disable mapmanager and spawnmanager
2020-03-23 13:58:41 +01:00
ElPumpo 986cbfb32a Added missing trailing spaces 2020-03-22 09:47:04 +01:00