Commit Graph

88 Commits

Author SHA1 Message Date
ItsANoBrainer 66ca5a7bb7 Removed Legacyfuel usage 2022-02-19 12:56:44 -05:00
ItsANoBrainer 6ed74c6392 Remove LegacyFuel usage 2022-02-19 12:56:01 -05:00
ItsANoBrainer 2c5253918b [Update] Missing Vehicle Properties
Added door state and window state.
2022-01-27 17:58:07 -05:00
ItsANoBrainer f7ef019d26 [Update] Missing Vehicle Properties
Added proper support for missing or unfinished vehicle property saving/getting:

- neons enabled/disabled
- tire health
- tire burst state
- tire burst completely
- oil level
- wheel size
- wheel width
- headlight color
- interior color
- modkit 17, 19, 21, 47, 49
- livery roof
- tankHealth

- Set LegacyFuel on setting fuel level
2022-01-27 14:32:14 -05:00
BerkieBb f69f68c7ce fix(client/functions): Return right result when with hasitem callback 2022-01-11 13:49:59 +01:00
Kakarot 206853b660 Merge pull request #396 from darknight2590/patch-13
attachProp function
2022-01-06 19:55:59 -06:00
Kakarot d2f334ca8d Merge pull request #395 from darknight2590/patch-12
add RequestModel
2022-01-06 19:54:32 -06:00
Kakarot 700084650c Merge pull request #400 from darknight2590/patch-14
Particle functions
2022-01-06 19:52:48 -06:00
Kakarot 68cb6dacaf Merge pull request #413 from darknight2590/patch-17
make IsWearingGloves in core
2022-01-06 19:51:31 -06:00
darknight2590 bf1fafb192 fix rename 2022-01-03 09:09:24 +02:00
Liam Dormon 691fb5ec48 Revert "edit Functions Blip" 2022-01-02 15:05:35 +00:00
darknight2590 3ca8e7ff76 make IsWearingHandshoes in core 2022-01-01 20:24:39 +02:00
vanillaa 1b2b1b3483 check up Spawn Clear
Kakarot made it for me one day
2021-12-30 23:44:12 +02:00
darknight2590 8f52107896 change name 2021-12-28 09:13:51 +02:00
darknight2590 920d44e718 change name function 2021-12-28 09:11:50 +02:00
darknight2590 53458ab9cd Particle functions 2021-12-27 12:05:33 +02:00
darknight2590 f62b2f31b4 attachProp function 2021-12-25 12:47:04 +02:00
darknight2590 1820344c00 add RequestModel 2021-12-25 12:34:55 +02:00
Kakarot e5070043e1 Merge pull request #384 from darknight2590/patch-6
add GetBoneDistance
2021-12-20 08:22:26 -06:00
darknight2590 98640f7858 edit coords 2021-12-20 10:52:46 +02:00
darknight2590 8f4982df36 edit Functions Blip 2021-12-20 10:49:38 +02:00
darknight2590 9a26a1b047 add GetBoneDistance 2021-12-20 10:28:17 +02:00
Kakarot d981752484 Merge pull request #378 from darknight2590/patch-5
add GetClosestBone
2021-12-19 20:08:10 -06:00
Kakarot 513826da02 Merge pull request #369 from YeahItsHayden/main
(add): create blip function
2021-12-19 20:06:47 -06:00
Kakarot 9083330c03 Merge pull request #377 from Mojito-Fivem/fix/HasItem
Fixes QBCore.Functions.HasItem [Critical](!)
2021-12-19 20:04:58 -06:00
darknight2590 186c99fee7 add GetClosestBone 2021-12-19 08:15:26 +02:00
Liam Dormon 12ed1b1799 fix(client/functions): Fixes QBCore.Functions.HasItem 2021-12-17 23:34:29 +00:00
YeahItsHayden 4d4f249ef4 (add): Remove Print + add error trace 2021-12-09 13:58:12 +10:00
YeahItsHayden b7a075127c (add): request anim dict to core 2021-12-08 17:20:21 +10:00
YeahItsHayden 1a7c1d7407 (add): create blip function 2021-12-08 16:19:34 +10:00
Liam Dormon 81b15139c3 feat(client/functions): RGB Colour Support 2021-12-06 20:54:14 +00:00
Mitroxs acc435a46a Typo 2021-12-02 23:06:33 +01:00
Mitroxs 6ee16d2262 Introduces PvP toggle: ft command 2021-12-02 23:02:30 +01:00
Mitroxs 8f0e4438b6 Introduces toggle option for PVP 2021-12-01 20:04:07 +01:00
Atikur Rahaman Santo 07b2107898 is logged in 2021-11-26 19:37:53 +06:00
vanillaa 9928ce12ad cleanup 2021-11-14 12:53:16 +02:00
Kakarot 7f4b3ecd9f New plate function 2021-11-08 18:00:58 -06: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
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 8a19f0163d Fix /ooc & add /me 2021-11-01 00:44:38 -06:00
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