Commit Graph
702 Commits
Author SHA1 Message Date
MrNewb 29c19f3cb4 Update client_entity.lua 2025-08-12 20:20:49 -04:00
MrNewb de5353b329 tweak dispatch for ps 2025-08-12 18:10:13 -04:00
MrNewb e30dceb540 CanCarryItem checks on additem 2025-08-12 18:08:49 -04:00
MrNewb af33909794 qs inv image path tweak 2025-08-11 00:46:26 -04:00
MrNewb 35d18972e6 Update points.lua 2025-08-09 23:40:27 -04:00
MrNewb b914f0ffeb Merge pull request #136 from RandomZFx/patch-1
Patch 1
2025-08-09 12:56:10 -04:00
randomz 4f9a4a06c8 Update server.lua
Converted String amount to Number to ensure AddItem was properly working. (tested on live server item was not being given due to that issue)
2025-08-08 23:47:13 -05:00
MrNewb 249f1c4032 Update server_entity.lua 2025-08-07 02:19:20 -04:00
MrNewb a63837bd1f Refactored model/anim checks, utility functions, and text rendering
Modified EnsureModelLoaded to skip validation and request loops if the model is already loaded

Condensed SafeAddBlip, SafeRemoveBlip, etc. into dedicated utility functions

Removed AddTextEntryOnce and SafeAddTextEntry — native existence checks were redundant

Replaced repetitive table inserts with keyed tables using tostring(number) to avoid unnecessary loops

Added HasAnimDictLoaded check to RequestAnimDict to prevent redundant request loops

Introduced FloatingHelpText in utilities (aesthetic improvement)

Updated DrawText: replaced outdated logic, switched 1 to true for clarity/preference
2025-08-07 01:50:50 -04:00
MrNewb b1556d13fb draft GetPlayerSourcesByJob 2025-08-07 00:47:51 -04:00
Mr.Crowley 140bad5b34 made woopsie to entities 2025-08-05 20:57:26 -05:00
MrNewb d0f9fb7ca3 Update VersionChecker.lua
comment out old
2025-08-05 16:05:47 -04:00
MrNewb e1a43ed918 Restore original version checker for compatibility; refactor export logic with reduced variable passing
- Reinstated the original version checker to maintain compatibility.
- Reworked the export approach: the new export method and the legacy one are now split rather than merged.
- Patch‑note data is handled separately, as seen in the example structure at resources.json (e.g. https://github.com/MrNewb/patchnotes/blob/main/resources.json).
- Minimized variable passing by leveraging JSON template references directly, reducing redundancy.
2025-08-05 15:55:49 -04:00
MrNewb d8f1599052 Update points.lua 2025-08-05 00:01:32 -04:00
MrNewb 4d6958aa86 community_bridge:Server:OnPlayerJobChange
job change serverside event
2025-08-04 01:32:30 -04:00
MrNewb 5abebe13c6 image pathing fixed on tgiann
this -- "nui://inventory_images/html/images/%s.png"
Is not the path, it its instead
nui://inventory_images/images/%s.png"

Also strip webp function added. And indexing itemdata was required.
2025-08-03 16:23:19 -04:00
MrNewb fa9ea6e6eb image path tweaks 2025-08-03 15:22:33 -04:00
MrNewb 2d02e8b0df Update VersionChecker.lua 2025-07-30 21:34:46 -04:00
MrNewb f42f853c81 Update VersionChecker.lua 2025-07-30 17:31:51 -04:00
MrNewb 69703e803f feat(version): improve version comparison and patch notes display
- Added CompareVersions function for accurate semantic version comparison.
- Refactored patch notes fetching into fetchPatchNotes, supporting both GitHub and Tebex sources.
- Improved error handling for invalid repository formats and missing version metadata.
- Enhanced update notification logic to use latest GitHub release and display patch notes for newer versions.
- Now triggers version check on resource start using updated logic.
- Fully backwards compatible
2025-07-30 14:46:27 -04:00
MrNewb 94484e882b remove random print 2025-07-30 13:28:20 -04:00
MrNewb a5799df7cb Update client.lua 2025-07-29 12:56:27 -04:00
MrNewb 868a193cea Update client.lua 2025-07-29 12:55:48 -04:00
MrNewb 3bb5bd7ad6 Merge branch 'dev' of https://github.com/TheOrderFivem/community_bridge into dev 2025-07-29 11:25:41 -04:00
MrNewb 4e02625d70 add support for qb-fuel 2025-07-29 11:25:38 -04:00
Mr.Crowley a1e65a7dff made some changes to input and target
targets now accept event

fixed a check for .action passed to ox fix options

input will now return in qbs format if qb is used (passed as true).. this makes converting qb resources infinitely simpler
2025-07-29 05:22:55 -05:00
MrNewb 6047c6d88c banking in manifest 2025-07-28 03:30:46 -04:00
Mr.Crowley 2fd5c7c08f Update client_entity.lua
Added skip to remove so we dont call external on remove.
2025-07-28 00:58:02 -05:00
MrNewb a62cb880b0 mr gorbachev tear down this wall
of commented out code
2025-07-28 01:38:25 -04:00
MrNewb 88b4daa2e8 migrate cache.ped to PlayerPedId() 2025-07-28 01:37:52 -04:00
Mr.Crowley eb8a7e4449 forgot 1 2025-07-28 00:21:57 -05:00
Mr.Crowley 2174213f8d woopsies 2025-07-28 00:21:30 -05:00
Mr.Crowley 466e86bfdb targets and inventory update
Targets:

sphearzone should not take a heading, removed

optional debug at the end for individual debugging

Inventory:

Added OpenPlayerInventory for all inventories.
2 (aka codem and qs) did not have clear documentation. Probably doesnt work
2025-07-28 00:10:51 -05:00
MrNewb fc8da1d528 qb progressbar returns opposite of bridge standard (ox) 2025-07-27 14:30:38 -04:00
MrNewb 503154a69c Create hr.json 2025-07-27 14:22:52 -04:00
Mr.Crowley 0970bdd604 migrated management to banking
also fixed loadmodel typo
2025-07-25 02:51:14 -05:00
MrNewb ca11f2954e Disable debug commands.
All the this below should go in unit tests if we are to continue using them.

None of these were harmful but its a good thing to watch out for going forward.
2025-07-24 20:02:33 -04:00
Mr.Crowley 2ad1f4669c small update
target got a print if onSelect or action are nil

also added groups in fixoptions for sleepless

client entities using return for loadmodel
2025-07-24 05:03:07 -05:00
MrNewb 07b76868f2 notify tweak 2025-07-24 00:10:47 -04:00
MrNewb d4c4999bde fix for origen_police 2025-07-23 22:16:19 -04:00
MrNewb 45a08338d8 Merge pull request #134 from TheOrderFivem/dev
Dev
2025-07-20 00:47:05 -04:00
MrNewb c4e3e87d84 Update fxmanifest.lua 2025-07-20 00:43:46 -04:00
MrNewb 9c98bd00f3 Update callbacks.lua 2025-07-20 00:38:35 -04:00
MrNewb 11a82194a9 fix for compatibility in kartik-mdt
repack job table as it needs a boolean
2025-07-19 01:47:53 -04:00
MrNewb 4e15466814 Merge branch 'dev' of https://github.com/TheOrderFivem/community_bridge into dev 2025-07-18 22:59:13 -04:00
MrNewb 8d85577cc8 kartik-mdt support added
has 143 users so meets requirement's + someone requested it
2025-07-18 22:58:41 -04:00
MrNewb a97263b168 Merge pull request #133 from TheOrderFivem/main
Update Attributions.md
2025-07-18 04:35:44 -04:00
MrNewb 227a5049b6 Update Attributions.md 2025-07-18 04:34:54 -04:00
MrNewb 18c8e882e7 Update README.md 2025-07-16 14:20:28 -04:00
MrNewb 71b1f45b48 Update README.md 2025-07-16 14:19:25 -04:00