Commit Graph

15 Commits

Author SHA1 Message Date
Robert O'Brien 57583c2f4a Fixed Optin Function
Changed "return true" to "return retval" 

as If you have permissions it would always return true even if you had opted out
2021-10-19 02:49:08 +11:00
Taso a5ebf4b9ce chore(styling): ensure consistent indentation & define editorconfig 2021-10-13 21:54:57 -04:00
Taso a335196d10 feat(server/functions): Add GetQBPlayers() fn
A wrapper that returns an array of QB Player instances. Mainly to provide a better solution to the GetPlayers() -> GetPlayer pattern seen everywhere.
2021-09-27 16:42:32 -04: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
GhzGarage 59e2e5cb29 Ban Fix 2021-08-03 22:14:27 -05:00
GhzGarage 2722215aba Remove QBCore.Functions.ExecuteSql 2021-08-03 19:22:06 -05:00
Developer-Bear 842c7c9301 fix ban function always returns false
global variables where not writable from inside the export function for some reason
2021-08-03 12:43:52 -05:00
Developer-Bear 4400413233 disallow connection of a rockstar license that is already in the server 2021-07-26 22:15:51 -05:00
GhzGarage 0603076be3 ⚠️⚠️ Steam Ditch ⚠️⚠️ 2021-07-08 19:54:57 -05:00
izMystic 4937463efb translate 2021-07-03 04:46:09 -04:00
BerkieBb 962cd4a997 Add server function for getting entity coords 2021-06-21 14:06:58 +02:00
GhzGarage 36a139cc09 easier file management 2021-04-08 19:11:32 -05:00