37 Commits
Author SHA1 Message Date
MrNewb e0c6d2f8c7 fix for jg-mechanic is missing
Replace earlier GetResourceState checks in multiple inventory modules so they only return early when the 'jg-mechanic' resource state is 'missing'. This standardizes behavior across modules (jpr, origen, ox, ps, qb, qs, tgiann) and fixes an inverted check in ox_inventory so the exports['jg-mechanic']:vehiclePlateUpdated call runs unless the resource is actually missing.
2026-03-13 12:35:30 -04:00
MrNewb 343af95794 Remove example scripts and update core logic
Deleted all files in the examples directory to clean up unused or test scripts. Updated fxmanifest.lua to enable ox_lib initialization. Improved error handling and entity tracking in utility functions, added prop removal, and made minor localization and code style adjustments throughout the codebase. Significant reword of inventory module, notification module, and framework module. Added support for wasabi_uikit, added support for keep-progressbars,
2025-12-14 16:22:35 -05:00
MrNewb 90c65dc55e Add GetResourceName function to all modules
Introduces a standardized GetResourceName function to banking, clothing, dispatch, doorlock, framework, fuel, helptext, housing, and other modules. This function returns the name of the in-use resource, improving resource identification and interoperability across the codebase.
2025-09-10 12:27:12 -04:00
MrNewb a435a4a75c Restore stash registration return values
Reverts stash registration to return a boolean and id, undoing a breaking change from commit #e06e04a. This restores compatibility with multiple resources and inventories that rely on the previous behavior. Also returning a success status on registration has many uses.
2025-08-29 23:53:44 -04:00
MrNewb 9062e5b2a8 Restore shop opening logic to pre-e06e04a behavior
Reverts breaking changes from commit #e06e04a by restoring the previous shop opening logic. This fixes compatibility issues with multiple resources that were affected by the change.
2025-08-29 23:49:59 -04:00
MrNewb ac9f0ae777 Restore legacy shop logic
Reverts shop registration to pre-commit #e06e04a behavior, removing the CreateShop function and restoring RegisterShop. This fixes breaking changes affecting multiple resources and inventories without any deprecation path.
2025-08-29 23:47:52 -04:00
Mr.Crowley e06e04a2c6 hope this works 2025-08-27 05:47:44 -05:00
MrNewb e30dceb540 CanCarryItem checks on additem 2025-08-12 18:08:49 -04: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
Quin Schurman aefcf8eee2 feat(inventory): add item list function 2025-07-09 17:26:16 -04:00
MrNewb 0de3a048be prevent imposters
multiple inventories provide as ox but dont support many of the exports, because of this we have to do solutions like this.
2025-06-18 09:55:22 -04:00
MrNewb 63c644d277 AddTrunkItems + testing across all bridged inventories 2025-06-08 04:36:53 -04:00
MrNewb c71a261115 chore(intellisense): improve parameter annotations and add missing comments
Touched up incorrect or missing Intellisense parameter annotations across several functions. Added some missing descriptions to improve editor support. Still more to do, but this is a small step forward for overall developer workflow. Also small fix in picklexp
2025-06-07 22:50:13 -04:00
MrNewb 866283162b touchup 2025-06-07 21:59:03 -04:00
MrNewb baf1c3b2a9 cleaned up intelisense, finsihed adding type to openstash, registration tweaks 2025-06-07 21:55:14 -04:00
MrNewb 2f1134f268 Update server.lua 2025-06-07 21:13:43 -04:00
MrNewb 586a263fb6 fix manifest warning 2025-06-07 20:22:08 -04:00
MrNewb 05c80d9d10 feat(additemstotrunk & clearstash)
This is very wip, also a good bit of inventories dont support it at all. I have tested this in ox_inventory but not the others. uploading into repo as it does not break anything and may encourage collab
2025-06-04 15:25:20 -04:00
gononono64 ba111f1b52 Changed createshop to registershop
dont forget to update

usibg cache system for clothing
2025-05-24 22:10:39 -05:00
gononono64 0d606bc859 Entity fix and stash update
Slimed OpenStash down to just an src and id instead of needing duplicate data.

Was not sure if this affects newb so im throwing it in a pr.
2025-05-19 07:20:23 -05:00
MrNewb 7e0124f02e returns added everywhere per crowleys request 2025-05-10 00:01:56 -04:00
MrNewb e1235dfc7c reorganized, notation 2025-05-09 06:03:09 -04:00
MrNewb 485c2d3460 inv diagnostics + repacked tables 2025-05-09 02:00:02 -04:00
gononono64 3cb9829f4f Qs-inventory and Framework IsPlayerDead fixes
qs item info had typo. IsPlayerDead was missing last stand for qb
also removed couple debug prints
2025-05-04 11:06:55 -05:00
gononono64 64540c4c31 too many iteminfos 2025-04-21 04:54:35 -05:00
gononono64 bd0074a156 Inventory Update
Added serverside iteminfo and consolidated image path. Now returns full nui path in .image
2025-04-16 05:24:03 -05:00
MrNewb 29d75163a9 intelisense stuff 2025-04-08 19:10:02 -04:00
MrNewb e54213398e wip 2025-03-09 05:49:05 -04:00
MrNewb f5913a0c45 Update server.lua 2025-03-07 06:29:23 -05:00
MrNewb dee14600ba HasItem + partial support for shops 2025-03-07 04:08:40 -05:00
MrNewb 83b982c400 start to doc functs 2025-03-03 01:09:24 -05:00
MrNewb 2a326c4811 GetPlayerInventory client side, event fires client now
community_bridge:client:inventory:updateInventory
2025-02-05 01:54:55 -05:00
MrNewb cb1bba700f GetPlayerInventory
This will be the final adjustment to name, felt it was more descriptive considering the alt inventory types. stash/trunk/glovebox/etc
2025-01-31 19:56:25 -05:00
MrNewb 0c90d659a0 export GetInventoryItems standard, add export GetItemBySlot 2025-01-31 19:15:33 -05:00
MrNewb 733271562d casing, RegisterModule adjustments, remove duplicate utilities table 2025-01-10 16:36:20 -05:00
MrNewb f6c503c39e f 2025-01-09 07:44:06 -05:00
MrNewb 47977ce701 version '0.0.7' 2025-01-08 06:33:31 -05:00