197 Commits

Author SHA1 Message Date
BerkieBb 3d3562a296 Merge branch 'dev' into dev 2022-02-19 12:54:19 +01:00
Liam Dormon 3b36f7e4e5 fix(client/functions): type checking for vectors (#430)
allows for cross scrt compatibility with newer functions
2022-02-19 17:39:50 +11:00
Idris Dev 391b293e06 style (drawtext): camelCase drawtext local functions.
Co-Authored by @BerkieBb
2022-02-19 17:27:01 +11:00
BerkieBb c615159c28 style(events): indentation 2022-02-18 10:13:08 +01:00
BerkieBb a5bb0c99ce tweak(functions): small changes 2022-02-18 10:07:19 +01:00
BerkieBb 4b107e24d7 style(drawtext): camelCase for locals 2022-02-18 10:02:18 +01:00
BerkieBb 3fcbf70016 optimize(loops): use core playerdata 2022-02-18 10:00:16 +01:00
darknight2590 430d40db6a feat (player/status): Added isdead check to hunger/thirst check thread 2022-02-16 20:25:53 +11:00
Idris 488c74b2de Merge branch 'develop' of https://github.com/qbcore-framework/qb-core into feat/ModularSharedTables 2022-02-13 20:51:43 +11:00
Idris ae29c94a40 feat (Shared): Added the ability to dynamically update the shared jobs, items and gangs. 2022-02-13 20:45:49 +11:00
Idris 2723d67744 feat (drawtext): Added IdrisDose/qb-drawtext to core to hopefully slow down the usage of drawtext3d. 2022-02-13 17:26:17 +11: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