Commit Graph

38 Commits

Author SHA1 Message Date
Linden fd44718c19 fix(server/main): ESX.GetPlayerFromId needs to check the value, not index 2021-06-03 07:55:36 +10:00
Linden 653613d55b fix(server/main): Left incorrect values from testing (type should equal table) 2021-06-03 07:37:51 +10:00
Linden 7e0cb29d80 improvement(server/main): Add support for ESX.GetExtendedPlayers() if using ESX Legacy 2021-06-03 07:29:20 +10:00
Loffes dee1238459 better sql performance
no longer selecting every column
2020-12-22 14:34:06 +01:00
Loffes ebe0f66d81 fix getEmployees
Fixes an issue with the "getEmployees" callback where it wouldn't return people who were recently hired (since ESX doesn't update the database straight away).
2020-12-22 02:01:19 +01:00
Yulian Ivanov ca38c6c16f Latest ESX code.
Prior versions of ESX when essentialmode was a requirement had a `name` column in the `users` table, which is now outdated.
2020-07-19 12:31:42 +01:00
ElPumpo 083dcddfe2 Code cleanup, fixed cases of shadowing upvalue 2020-04-19 20:02:06 +02:00
ElPumpo 135e5ee8d2 Fix for latest esx 2020-02-17 23:29:11 +01:00
ElPumpo 08000e4afb Fixed xPlayer notification mistake, rewrote statements 2019-11-13 21:40:49 +01:00
rex2630 0d4833d1d7 Support for new ESX 2019-11-13 16:52:17 +01:00
ElPumpo 1729bc5b48 Fixed washing money, closes #77 2019-04-22 12:08:10 +02:00
ElPumpo b3e7209f01 Fixed society vulnerabilities 2019-04-02 22:36:25 +02:00
ElPumpo 7ac3744394 Fixed security mistakes 2019-02-28 12:01:09 +01:00
ElPumpo 87d5598578 Security improvements 2019-02-28 11:52:10 +01:00
ElPumpo 2ab948f547 Added setSocietyMoney and toggleSocietyHud events 2019-01-13 12:25:53 +01:00
ElPumpo 835fc65271 Mysql dont select everything 2018-12-10 22:45:03 +01:00
ElPumpo 3cfae09503 Fixed hardcoded dollar sign, group money 2018-11-25 16:02:22 +01:00
ElPumpo f44e0c0e4f mysql-async v3.0.1 support 2018-09-23 21:59:06 +02:00
ElPumpo 5b142f2bb2 Removed broken check 2018-09-05 20:16:18 +02:00
ElPumpo 8a7768e719 Fixed missing callback 2018-08-27 11:58:47 +02:00
ElPumpo 61395ada2e Fixed broken script 2018-08-25 20:51:18 +02:00
ElPumpo 81ea781e77 Protect esx_society:setJob from lua executors 2018-08-25 18:22:11 +02:00
ElPumpo b4ce61a75c Fixed lua executing boss menu, tab indent 2018-08-25 14:48:45 +02:00
ElPumpo 905552ec2d Removed incomplete locales 2018-07-13 23:04:46 +02:00
ElPumpo fce1da377e Improved washing money code, README cleanup 2018-05-07 22:14:59 +02:00
ElPumpo 2a60ff3f1f Fixed sending message to offline player (desc)
- Fixed sending a message to offline players when they get promoted, fired or whatever.
- Improved translation
    - fixed hardcoded message
    - improved translation with the usage of formatting
2018-04-08 23:51:21 +02:00
ArkSeyonet 8b33477a27 Update main.lua 2017-09-19 12:33:47 -05:00
Romain Lanz fc2ae2a0b3 feat(identity): add identity support for employees' list 2017-09-14 22:15:29 +02:00
Romain Lanz 2fa1ff9ff4 chore(coding-style): correct indentation 2017-09-14 21:21:24 +02:00
Jérémie N'gadi de6e240e33 Add registerSociety event 2017-09-13 14:40:43 +02:00
renaiku f82cf6bb22 bugfix 2017-09-09 19:35:45 +02:00
Jérémie N'gadi f01d89abf2 Add per-society garage support 2017-09-09 16:33:23 +02:00
Romain Lanz 0442ee2c55 chore(ux): add some notifications 2017-09-03 15:46:40 +02:00
Jérémie N'gadi b92f0ffebd Fix translation + fix setJob 2017-09-03 13:54:36 +02:00
Jérémie N'gadi fefb430149 Fix typo + Add complete boss menu 2017-09-03 11:53:07 +02:00
renaiku 2b40d5116e update getplayers 2017-08-21 21:02:01 +02:00
nearbyplayer cdab4fb686 Multi-language support 2017-08-16 20:50:15 -04:00
Jérémie N'gadi 7abb257587 Add files 2017-08-02 11:08:21 +02:00