Commit Graph

361 Commits

Author SHA1 Message Date
Kakarot 7f4b3ecd9f New plate function 2021-11-08 18:00:58 -06:00
Kakarot 49ae817bac Fix random generation 2021-11-08 17:53:28 -06:00
Kakarot 0244cb669a Merge pull request #294 from jonezkti/patch-1
Better weapon and weapon icon names
2021-11-08 14:52:10 -06:00
Jonezkti 20f00a2f43 Forgot one 2021-11-08 22:30:28 +02:00
Jonezkti 1846c7c1aa Update icon names for new icons 2021-11-08 22:28:34 +02:00
Kakarot c7d380b103 Merge pull request #315 from Mojito-Fivem/refactor/paycheckloop
refactor(server/functions): Optimise PaycheckLoop function
2021-11-08 12:25:06 -06:00
Mojito-Fivem b3346527be refactor(paycheckloop): Localise payment and format string 2021-11-08 17:37:33 +00:00
Mojito-Fivem aac822402d fix(refactor/paycheckloop): Send to players source 2021-11-08 17:36:11 +00:00
Mojito-Fivem 3d47bd8589 refacotr(server/functions): Optimise PaycheckLoop function 2021-11-08 17:27:14 +00:00
Kakarot bd756e5720 Update shared.lua 2021-11-07 23:24:22 -06:00
Kakarot 3235140d76 Update shared.lua 2021-11-07 23:19:16 -06:00
Kakarot f2a3421b56 Change rounding 2021-11-07 23:13:42 -06:00
Kakarot 138bfab2b9 Merge pull request #311 from Mojito-Fivem/refactor/shared-functions
Refactor functions
2021-11-07 23:12:40 -06:00
Kakarot 86f6a605fd Merge pull request #312 from Mojito-Fivem/feat/GetDuty
Feat/get duty
2021-11-07 20:59:54 -06:00
Mojito-Fivem 21d85a63ec chore(server/functions): Add Comments for GetDuty functions 2021-11-07 22:47:39 +00:00
Mojito-Fivem 85819bddbf feat(server/functions): GetDutyCount 2021-11-07 22:46:00 +00:00
Mojito-Fivem 2236163d5c feat(server/functions): GetPlayersOnDuty
Co-authored-by: Solositeous <36283056+Solositeous@users.noreply.github.com>
2021-11-07 22:44:39 +00:00
Mojito-Fivem 20fa745e28 refactor(client/functions): Add local trim function to shared.lua 2021-11-07 11:17:29 +00:00
Mojito-Fivem ec95fef7f5 refactor(client/functions): Remove local rounding function for QBCore.Shared.Round 2021-11-07 11:15:17 +00:00
Kakarot ce56fea2b0 Merge pull request #309 from roobr/patch-2
Add in Shared function for Trimming whitespace in plates
2021-11-05 07:31:57 -06:00
roobr e15503e04b Add in Shared function for Trimming whitespace in plates
This PR is the foundation for Trimming plates in all resources that reference vehicle plates, this will allow plates with less than 8 Characters to work with QB resources (mechanic and garage mainly), and not return white spaces. For example, the plate "TEST" would return "  TEST  " so when trying to put it back into the garage or add mods to it, it would fail.

For example in qb-garages: TriggerEvent("vehiclekeys:client:SetOwner", QBCore.Functions.GetPlate(veh)) would return "TEST instead of "  TEST  " when using the native.

What I did was replace GetVehicleNumberPlateText( with QBCore.Functions.GetPlate( in all resources that contain the QBCore object.
2021-11-06 00:03:27 +11:00
Kakarot fffbb41840 Merge pull request #306 from HTB-qbcore/main
Adjusted length of citizenid to 50
2021-11-03 00:27:23 -06:00
steve af66f23bd2 Adjusted length of citizenid to 50 2021-11-03 17:21:12 +11:00
Kakarot 9a1f1ab565 Remove table.insert 2021-11-02 23:16:52 -06:00
Kakarot 427db79af8 Merge pull request #305 from evanillaa/patch-2
Add two vehicles and sort more
2021-11-02 06:10:46 -06:00
vanillaa dfedb0e225 Add two vehicles and sort more 2021-11-02 09:19:35 +02:00
Kakarot 07e110920f Inventory singleSync 2021-11-01 15:24:21 -06:00
Kakarot 9d2afdf6b1 Merge pull request #302 from BerkieBb/patch-1
Prevent confusion with OOC
2021-11-01 06:08:11 -06:00
BerkieBb e6f423fa04 feat(core/ooc): Rename to Proximity OOC to prevent confusion and double OOC messages for admins and gods 2021-11-01 09:53:46 +01:00
Kakarot 8a19f0163d Fix /ooc & add /me 2021-11-01 00:44:38 -06:00
Kakarot 5c68989836 Fix 2021-10-31 20:07:41 -05:00
Kakarot 58e536a1a3 Merge pull request #301 from Mojito-Fivem/refactor/shared-maths
refactor(maths): move maths function to shared.lua
2021-10-31 15:41:55 -06:00
Mojito-Fivem 9fd5e75302 refactor(maths): move maths function to shared.lua 2021-10-31 21:38:45 +00:00
Kakarot 005e311df1 Update functions.lua 2021-10-31 09:47:29 -05: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 6af6015857 Merge pull request #299 from evanillaa/patch-1
Sort vehicles by category and build ver
2021-10-31 07:48:15 -06:00
vanillaa 6d45b802e6 Sort vehicles by category and build ver
Sort vehicles by category and build ver
The list will be updated periodically
Comments will be constantly updated
https://ibb.co/M1wY1Qr
2021-10-31 10:50:47 +02:00
Kakarot 2c20ffba03 Merge pull request #274 from LV-Soft/main
Fix always "on duty" at login.
2021-10-30 17:07:05 -06:00
Kakarot dd64f80021 Livery backwards compatibility 2021-10-28 23:49:33 -06:00
Kakarot 1a472e1d99 Merge pull request #295 from ihyajb/patch-1
feat(server): Only get paid while on Duty
2021-10-28 06:13:51 -06:00
AJ a8c7317970 feat(server): Only get paid while on Duty 2021-10-28 04:10:21 -04:00
Jonezkti 60988a4f8e Better weapon and weapon icon names 2021-10-27 18:21:42 +03:00
Kakarot ec6e294860 oxmysql dependency
Only works with 1.7
2021-10-26 19:58:13 -06:00
Kakarot ebb3c261c5 Merge pull request #293 from Chang-nl/patch-1
Tiny explanation misstake
2021-10-26 14:06:04 -06:00
Chang R 1000200e52 tiny explanation error 2021-10-26 21:01:23 +02:00
Kakarot ed15db1df6 Remove table.insert 2021-10-25 06:47:40 -06:00
Kakarot 570129bfd3 chore(oxmysql): Replace fetch 2021-10-24 11:18:52 -06:00
Kakarot ffef5aeb51 Merge pull request #284 from izMystic/main
feat(notify): CSS classes
2021-10-21 22:23:15 -06:00
izMystic 2eebf87133 Update fxmanifest.lua 2021-10-22 00:17:09 -04:00