Commit Graph

27 Commits

Author SHA1 Message Date
Taso e719bc6569 refactor(ui/notify): Cleanup internal code & new config options 2021-10-13 20:19:36 -04:00
Kakarot be4f57410b feat(html): New Notify System
-Replaces old notification system but is also backwards compatible so no changes necessary
- Now allows for the use of sending a table with text and caption
- Can add as many types of notifications as wanted/needed
- Configure position and icons in app,js (google icons or fontawesome)
2021-09-28 23:39:11 -06:00
Kakarot 8a1181171c Update functions.lua 2021-09-28 07:33:08 -05:00
Eralp 567289f0e0 Post-check fix
Post-check fix . Fixes after the check by @AvarianKnight
2021-09-27 23:24:05 +03:00
Eralp 7bbab4ce65 visual editing
visual editing and fix for new build
2021-09-26 15:49:51 +03:00
Eralp 997f4b00ac fix closestObject/closestVehicle coords
In the previous version we could check the coordinates. In this, we automatically get the coordinate of the player. I hadn't noticed this yesterday when I was testing it. I am attaching this fix. Available in before "Major update" version.
2021-09-26 15:44:51 +03:00
Kakarot 39b55b27fd fix(client/functions.lua): Closest Ped
Scripts like qb-drugs corner selling require finding the closest ped but include a list of peds to ignore, typically your own.
2021-09-25 21:41:06 -06: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
GhzGarage 5555cd6662 feat(client/functions.lua): Distance
Added second return parameter which contains distance
2021-09-25 18:06:52 -05:00
Kakarot ddc396d2c9 fix(qb-core/client/functions.lua): Close Player
There was a mistake when replacing table.insert that caused closest player to not be found
2021-09-25 11:08:40 -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
BerkieBb 057efcbf41 Fix nil value 2021-08-16 14:42:03 +02:00
Bear 772ad40cd4 I goofed 2021-08-04 17:27:20 -05:00
Bear 53f54c1139 beautify 2021-08-04 16:48:02 -05:00
Developer-Bear 1864d03573 fix interior & dash colors not saving, also custom tires (lettering) 2021-08-04 16:30:29 -05:00
GhzGarage 6d723164af ALL MODS SAVE CORRECTLY 2021-08-03 21:33:01 -05:00
Bear f7032bb416 fix duplicate function 2021-08-03 17:22:53 -05:00
Developer-Bear c28f332727 fix neon under glow and tires moke not saving when a vehicle is stored 2021-08-03 13:05:36 -05:00
GhzGarage e5ffe58b38 ESX Licensing 2021-07-06 16:04:18 -05:00
GhzGarage 7f9e91fb61 GetGamePool 2021-06-30 23:14:37 -05:00
GhzGarage d5ab54851e Non-RGB 2021-06-26 22:18:21 -05:00
BerkieBb b3387952c3 Change functions to accept vector4 2021-06-24 11:57:08 +02:00
ᐯIᖇᑌᔕ 1f2950fcdd Fixed Neon color and tyres smoke being not set when pull out car from garage. 2021-06-20 19:51:41 -04:00
ᐯIᖇᑌᔕ c2171649ef fix for Xenon lights color not set when retrieve from the garage
Added new native and fixed a call for a non exist json parameter.
2021-06-19 21:19:48 -04:00
BerkieBb 0ee1186709 Fixed the saving of liveries 2021-06-09 21:50:10 +02:00
LoveFistRP 6ca2e773e5 Enable RGB 2021-04-19 07:52:50 -07:00
GhzGarage 36a139cc09 easier file management 2021-04-08 19:11:32 -05:00