Commit Graph

253 Commits

Author SHA1 Message Date
Kakarot 923f3d3a31 ⚠️ Major Update ⚠️
- Major cleanup of all files including reformatting & notations
- Added an optional export to add to scripts as an alternative to import.lua
- Added player state to OnPlayerLoaded so no more need for isLoggedIn inside scripts
- Updated all events to the new RegisterNetEvent and got rid of unneeded handlers
- Added the ability for ACE permissions with commands
- Added two new config options for player update interval and status update
- Changed players table to use citizenid column as primary key <-- very important
- Overall sloppy code cleanup, removal of unused code, got rid of nil checks
2021-09-24 22:46:20 -06:00
Kakarot e683b991c6 Merge pull request #206 from SamShanks1/main
Sets all players routing bucket to 0
2021-09-20 16:36:38 -06:00
SamShanks1 64f34af3c8 Sets all players routing bucket to 0 2021-09-20 14:15:35 +01:00
Newtonzz 7e1d19873e Create LICENSE 2021-09-14 23:20:11 +02:00
Kakarot 1bf411eb19 Merge pull request #190 from zfbx/main
SQL2 error fix
2021-09-13 02:08:33 -05:00
Tony 2d2a33b1be SQL2 error fix 2021-09-13 03:05:03 -04:00
Kakarot e353516c7e Merge pull request #189 from zfbx/main
Update SQL queries for MySQL2
2021-09-13 01:20:20 -05:00
Tony c1eadcc827 Update SQL queries for MySQL2 2021-09-12 23:42:30 -04:00
GhzGarage 21e8c0bb92 Weird dependency problem? 2021-09-11 23:12:02 -05:00
GhzGarage 95d4d6d287 ⚠️⚠️ ghmatti ditch ⚠️⚠️ 2021-09-11 21:26:56 -05:00
Kakarot fda382ce4f Merge pull request #186 from goncalocarvalho95/main
Add car Previon
2021-09-09 15:32:52 -05:00
Goncalo Carvalho 6521d23384 Add car Previon 2021-09-09 17:59:42 +01:00
GhzGarage a99f51fddf Merge branch 'main' of https://github.com/qbcore-framework/qb-core into main 2021-09-08 23:47:17 -05:00
GhzGarage e59cb33ad1 Update drop event 2021-09-08 23:47:10 -05:00
Kakarot 9eefcc553e Merge pull request #178 from Kingsage311/patch-3
vehicle priceing chages
2021-09-08 23:43:53 -05:00
Kakarot ff7a6d4cee Merge pull request #175 from Tastyfish/hunger
Configurable hunger and thirst rate.
2021-09-08 23:43:10 -05:00
Kakarot f1a1ec3f1b Merge pull request #179 from davidecab/patch-1
Notify if inventory is full
2021-09-08 23:40:44 -05:00
GhzGarage 9d282bb2a0 Cypher car 2021-09-08 23:29:25 -05:00
David ec06475c1e Update player.lua
Changed to "Your inventory is too heavy!"
2021-09-08 15:01:48 +02:00
David 3800de1267 Notify if inventory is full 2021-09-02 23:46:11 +02:00
Kings 03b6cebef2 vehicle priceing chages 2021-09-02 14:37:39 -07:00
tastyfish 6cce66c001 Configurable hunger and thirst rate. 2021-09-01 04:07:14 -04:00
Kakarot 512b1c9d9f Merge pull request #171 from Developer-Bear/patch-2
fix gang menu recruiting does not have notify
2021-08-30 21:05:50 -05:00
Bear 6b4bbc0572 fix gang menu recruiting does not have notify
SetGang must return true/false the gangmenu resource depends on this to give notifications
2021-08-30 21:02:04 -05:00
AJ 6d6efc88ed fix: HasItem always returning true 2021-08-29 12:35:40 -04:00
Kakarot 1119bd2e67 Merge pull request #162 from therealgambo/sportsclassics
fix category typo with some sportsclassics cars
2021-08-28 23:36:17 -05:00
TheRealGambo 51606c4ddc fix typo with some sportsclassics cars using the category 'sportsclassic' instead of 'sportsclassics' 2021-08-28 12:27:46 +01:00
GhzGarage d8ce109422 Gang Command 2021-08-27 13:19:39 -05:00
Kakarot 7f8ff6009c Merge pull request #159 from Developer-Bear/patch-1
clean up /job ..
2021-08-27 13:18:53 -05:00
Kakarot 71e8886dc8 Merge pull request #157 from Terry-Ligma/patch-1
Fleshlight added to shared objects
2021-08-27 12:26:18 -05:00
Kakarot 2b7814e1c0 Merge pull request #145 from goncalocarvalho95/Tuners-DLC-Cars
Update car list
2021-08-27 12:23:22 -05:00
BerkieBb b069f71fcc Fix items in separate slot not being recognized 2021-08-27 18:55:05 +02:00
Bear 31a870f99a clean up /job .. 2021-08-26 18:29:07 -05:00
BerkieBb 9a2ec19673 Merge pull request #153 from vanillla1/patch-12
add duty for /job
2021-08-26 23:12:53 +02:00
BerkieBb d62a5ee9e9 Spacing went fucked 2021-08-26 23:02:39 +02:00
BerkieBb a01af9e199 feat(events/hasitem): Add amount argument to check for item amount and optimize it slightly 2021-08-26 23:01:29 +02:00
vanillaa 88fdf90cb0 beautifier 2021-08-26 23:05:47 +03:00
Terry-Ligma 84bf9ee43f Fleshlight added to shared objects
;)
2021-08-24 17:03:04 -05:00
vanillaa c827e5b27a add .. fix 2021-08-24 23:29:58 +03:00
vanillaa 374f97e6e3 add duty for /job 2021-08-23 19:27:06 +03:00
Kakarot 056397aa23 Merge pull request #150 from TasoOneAsia/feat/player-loaded-event
feat(server/player): PlayerLoaded event for third party resources
2021-08-22 16:27:18 -05:00
BerkieBb 36da3c197b Merge pull request #126 from ihyajb/patch-1
Updated description's for some items
2021-08-22 10:21:33 +02:00
AJ 455e9fc511 Fixed items I missed 2021-08-21 21:28:24 -04:00
Taso 0e68bbf1b5 feat(server/player): PlayerLoaded event for third party handling
Third party resources may need access to created Player instance on join, emit 'QBCore:Server:PlayerLoaded' with ref
2021-08-21 17:48:24 -04:00
Goncalo Carvalho d7a7eb7c36 Update new car 2021-08-19 18:21:15 +01:00
Kakarot 545e029e84 Merge pull request #141 from izMystic/patch-4
job -> gang
2021-08-17 21:26:45 -05:00
Kakarot 42564fac77 Merge pull request #135 from vanillla1/patch-8
clean
2021-08-17 21:26:30 -05:00
Kakarot 8b7e1164e1 Merge pull request #134 from vanillla1/patch-7
clean
2021-08-17 21:26:24 -05:00
izMystic 2468a2a1ec job -> gang 2021-08-17 16:49:58 -04:00
vanillaa 430ae71cc9 clean 2021-08-17 09:29:38 +03:00