Commit Graph

348 Commits

Author SHA1 Message Date
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
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
izMystic b29e31119d feat(notift): CSS classes 2021-10-22 00:14:18 -04:00
Kakarot 06e44a4553 Fix livery not sticking / randomly changing 2021-10-21 11:30:51 -05:00
Kakarot a5a1e07445 Merge pull request #283 from evanillaa/patch-24
add weapon_carbinerifle for QBShared.Weapons
2021-10-20 10:51:21 -06:00
ev.vanillaa 759a472fb5 add weapon_carbinerifle for QBShared.Weapons 2021-10-20 19:37:37 +03:00
Kakarot ae2fc68a50 Merge pull request #282 from evanillaa/patch-23
add new gta weapon default
2021-10-20 10:13:33 -06:00
ev.vanillaa 83929de09d add new gta weapon default 2021-10-20 19:11:33 +03:00
Kakarot faaae89710 Merge pull request #281 from evanillaa/patch-22
Sort weapons by categories
2021-10-20 09:09:58 -06:00
Kakarot 226d38690f Merge pull request #279 from roobr/patch-1
🐛 - Fixed Optin Function
2021-10-20 06:18:31 -06:00
ev.vanillaa 1594e307ae QBShared.Weapons sort by categ 2021-10-20 10:33:25 +03:00
ev.vanillaa 06bb027cc8 Sort weapons by categories 2021-10-20 10:06:39 +03:00
Kakarot 342dcc14ec Merge pull request #280 from jxnnyo/patch-1
update player.lua
2021-10-19 12:21:48 -06:00
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
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