Commit Graph

177 Commits

Author SHA1 Message Date
Linden cf2606866a Trigger an event on server once xPlayer is created 2021-05-09 01:59:46 +10:00
MiddleSkillz 8f91023bd9 Added Some More Stuff 2021-05-05 01:18:20 -06:00
Mycroft cfa6a44b99 Update commands.lua 2021-05-03 23:48:42 +01:00
Mycroft acaa467cf4 Update commands.lua 2021-05-03 23:44:29 +01:00
Mycroft 5b1e5b9ea4 add more commands 2021-05-03 23:32:02 +01:00
Mycroft 1b481797eb Update commands.lua 2021-05-03 22:43:27 +01:00
Mycroft 640befda57 Update commands.lua 2021-05-03 22:41:49 +01:00
Mycroft c8c8ffeb4d add features 2021-05-03 22:37:02 +01:00
Mycroft 8b55ba4c18 Update commands.lua 2021-05-03 20:41:53 +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 bee2165105 Kashacter 2021-04-29 18:39:31 +01:00
Mycroft 9849bc9e51 Version Checker 2021-04-28 22:03:39 +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
tabarra e265976561 default group for ace admins
This allows server owners to become ESX admins on their first joins, based on if they have the `command` ace permission or not.  
If they do have that ace, they can `setgroup <id> admin`, so access-wise that's ok.  
I would commit this to master, but since v2 is not yet ready, PlumeESX uses "v1-final".
2021-04-04 16:30:04 -03:00
Jérémie N'gadi 62ded4f3a0 Merge pull request #722 from justtos/master
Add the "item_name" as an argument when executing the use item callback
2020-05-22 11:31:55 +02:00
ArkSeyonet eacf7c0b94 Update es_extended
- Finish removing code for forcing stop resources
2020-05-17 04:16:00 -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 eab23417a5 Update player.lua 2020-05-15 17:02:35 +03:00
Jérémie N'gadi ff8625cb32 Now we can extend xPlayer without touching core files 2020-05-13 21:04:06 +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 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
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 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
justtos 799a56c026 Allow the callback for the item to have access...
to basic info about itself
2020-05-10 12:42:15 +03: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 c375761c6f Improved bad pickup code 2020-04-20 23:57:14 +02:00
ElPumpo 33e928008e Fixed StopResource() not allowing some resources to be stopped 2020-04-19 11:53:45 +02:00
ElPumpo e772031094 Fixed some cases of shadowing upvalue 2020-04-14 10:42:03 +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 ddd3a88336 Minor variable renaming 2020-04-11 11:55:27 +02:00
Andrea Passarini 9f1a18d420 Fix removeWeaponComponent not working correctly 2020-04-07 04:43:24 +02:00
Vegard Bendiktsen f4558c85e3 Support table/list of groups when registering commands (#616)
* Support table/list of groups when registering commands

* Adhere to "unwritten code standard"
2020-04-03 09:20:58 +02:00
ElPumpo fde5571b43 Improved error messages and fixed players joining with same identifier, fixes #605 2020-03-26 11:59:27 +01:00
ElPumpo be2dc2e9e2 Minor adjustments 2020-03-25 22:45:23 +01:00
ElPumpo 8a6579fd7e Added /setaccountmoney command, closes #558 2020-03-24 10:57:25 +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 0fc8c4d9c5 Added /save <playerId> and /saveall commands 2020-03-23 12:10:25 +01:00
ElPumpo d8e4e8d991 Fixed group not storing on db when saving player 2020-03-23 11:55:55 +01:00
ElPumpo 9a1dfa42ca Sync consumed ammo with server properly
No more security issues here!
2020-03-22 09:43:43 +01:00
ElPumpo ff9930068f Keep weight stored 2020-03-15 12:20:08 +01:00