Commit Graph

47 Commits

Author SHA1 Message Date
jxnnyo e1a18090ea update player.lua
There was an issue when it was indexing source even though it was nil. Fully tested in my server.
2021-10-19 19:12:09 +01:00
Taso a5ebf4b9ce chore(styling): ensure consistent indentation & define editorconfig 2021-10-13 21:54:57 -04:00
GhzGarage 34c574daf2 fix(server/events/player): Position
Position was not updating on player dropped but was on player save event.
2021-09-25 18:31:28 -05:00
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
Tony 2d2a33b1be SQL2 error fix 2021-09-13 03:05:03 -04:00
Tony c1eadcc827 Update SQL queries for MySQL2 2021-09-12 23:42:30 -04:00
GhzGarage 95d4d6d287 ⚠️⚠️ ghmatti ditch ⚠️⚠️ 2021-09-11 21:26:56 -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
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
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
vanillaa 7510227dbe clean 2021-08-17 09:26:38 +03:00
GhzGarage 784527b164 Save an empty inventory 2021-08-13 20:08:23 -05:00
BerkieBb 5520eb9fe1 Translate 2021-08-12 16:22:55 +02:00
BerkieBb c837315388 Fix remove money phone notifications 2021-08-12 16:20:10 +02:00
Kakarot e923e632f1 Merge pull request #116 from vanillla1/patch-5
remove qbus
2021-08-09 15:03:08 -05:00
Kakarot 55f76e1faa Merge pull request #115 from bashenga/patch-1
phone bank notify only for remove bank balance
2021-08-09 15:02:41 -05:00
vanillaa b3d3b9e17e remove qbus 2021-08-09 03:21:27 +03:00
bashenga f79161ee95 phone bank notify only for remove bank balance
Fix of showing phone bank notify when removing cash from characters; Phone bank notify will be shown If moneytype is bank.
2021-08-08 20:08:51 +03:00
SW1FT d5ba129d86 Ignore missing items
Fixes https://github.com/qbcore-framework/qb-inventory/issues/49
2021-08-06 19:46:14 +01:00
GhzGarage c69d9e775a Gang Grades 2021-08-05 18:47:37 -05:00
GhzGarage 92774c6d64 Fix Duping 2021-08-03 21:50:40 -05:00
GhzGarage 2722215aba Remove QBCore.Functions.ExecuteSql 2021-08-03 19:22:06 -05:00
BerkieBb e238051efa Renamed function 2021-07-30 21:05:01 +02:00
BerkieBb b875760309 Spacing 2021-07-10 11:42:53 +02:00
BerkieBb 6a7d564a2c Remove unused tables/queries 2021-07-10 11:42:19 +02:00
GhzGarage d08f88f10c Remove Deprecated Feature 2021-07-08 19:59:58 -05:00
GhzGarage 0603076be3 ⚠️⚠️ Steam Ditch ⚠️⚠️ 2021-07-08 19:54:57 -05:00
GhzGarage b2ec7ae041 Remove Optional Tables 2021-07-07 19:55:00 -05:00
GhzGarage 1ed8c63cdb Player Update 2021-06-28 18:24:44 -05:00
GhzGarage 1a2ff548ab SQL 2021-06-28 16:46:58 -05:00
GhzGarage 59a4fb2fcd Test SQL 2021-06-28 16:41:38 -05:00
GhzGarage 200ace10af TEST SQL 2021-06-28 16:19:23 -05:00
GhzGarage af5c2f9d71 Stupid, Stupid, Stupid 2021-06-27 17:52:24 -05:00
BerkieBb b5e70e1bce If item not found return 0 instead of nil 2021-06-27 16:59:23 +02:00
Kmack710 db5efcb89a Phone Number, Nationality and Bank USA default now 2021-06-23 13:26:08 -07:00
BerkieBb ac258aac21 Update player.lua 2021-06-18 17:46:06 +02:00
Franco Sanllehi 8d7c4086cf fix(qb/core): Optional chat update
Needed for: https://github.com/qbcore-framework/qb-weapons/pull/6
2021-06-17 16:23:16 -04:00
LoveFistRP 369d8b7a01 Fix nil job after creation 2021-04-28 17:17:04 -07:00
LoveFistRP e5be45c140 Configured char deletion 2021-04-23 14:13:40 -07:00
LoveFistRP 664c4de16d ATM function 2021-04-22 22:20:30 -07:00
LoveFistRP ee32b5888f Banking Stuff 2021-04-19 14:48:59 -07:00
LoveFistRP fa89509ec8 phone 2021-04-15 20:15:01 -07:00
LoveFistRP a384b2d9e2 BREAKING COMMIT ⚠️⚠️ Clear player data 2021-04-12 11:01:43 -07:00
GhzGarage 78d7ff2f8b Remove log event not used 2021-04-10 18:15:54 -05:00
LoveFistRP ca4ed82715 General Fixes/Cleanup 2021-04-08 19:53:25 -07:00
GhzGarage 36a139cc09 easier file management 2021-04-08 19:11:32 -05:00