197 Commits

Author SHA1 Message Date
Mojito-Fivem 9fd5e75302 refactor(maths): move maths function to shared.lua 2021-10-31 21:38:45 +00:00
Kakarot f68437e9ae Update functions.lua 2021-10-31 09:46:58 -05:00
Kakarot 0b83012b54 Merge pull request #246 from IdrisDose/main
feat (Functions/Math): Added Precision Rounding so that people can round to nearest decimal efficiently.
2021-10-31 07:50:27 -06:00
Kakarot dd64f80021 Livery backwards compatibility 2021-10-28 23:49:33 -06:00
Kakarot 06e44a4553 Fix livery not sticking / randomly changing 2021-10-21 11:30:51 -05:00
Mojito-Fivem c37bc775c6 chore(client/functions): Convert tabs to spaces 2021-10-14 11:58:24 +01:00
Mojito-Fivem f7a5f53ab0 chore(client/functions): Merge fix 2021-10-14 11:55:16 +01:00
Taso a5ebf4b9ce chore(styling): ensure consistent indentation & define editorconfig 2021-10-13 21:54:57 -04:00
Taso e719bc6569 refactor(ui/notify): Cleanup internal code & new config options 2021-10-13 20:19:36 -04:00
Mojito-Fivem e0d3a9ea69 refactor(client/functions): Simplify vector check with ternary 2021-10-13 23:01:06 +01:00
Mojito-Fivem 34f03308c2 refactor(client/functions): fix indentation 2021-10-13 22:37:25 +01:00
Mojito-Fivem ca30d45810 fix(client/functions): Additional type checking for vectors 2021-10-07 22:16:03 +01:00
Mojito-Fivem b1ca2926a1 fix(client/functions): GetClosestX type checking 2021-10-07 22:06:49 +01:00
Idris Dose 2b6edb0ac3 feat (Functions/Math): Added Precision Rounding so that people can round to nearest decimal efficiently. 2021-10-01 20:58:13 +10: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
BerkieBb 1279c941d4 Remove unused event 2021-08-13 23:33:47 +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 4d4feeed04 Change coord grabbing back to client 2021-07-07 17:59:44 -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
BerkieBb 59ebd81f04 Remove client side position saving 2021-06-21 14:05:45 +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
QBCore Framework aea2da246a Update main.lua 2021-06-07 20:21:21 -05:00
LoveFistRP 67c24d46ff Fix TP 2021-04-26 08:32:21 -07:00
LoveFistRP e202407211 Needs tested 2021-04-24 15:12:04 -07:00
LoveFistRP c80bd0331b Infinity Compatible TP 2021-04-23 15:08:50 -07: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