Jim Shield
e5b55e49b7
Add missing functions for playing animations
...
Forgot to include animation functions for progressbar ui_module when porting it over
2025-07-01 13:07:36 +01:00
Jim Shield
1ff01526bc
Add larger timeouts for caching
2025-06-30 23:19:23 +01:00
Jim Shield
1ed227080b
Add missing "Open Wheel" to searchCar() function
2025-06-30 23:18:43 +01:00
Jim Shield
b07c089946
Version Bump
...
`2.0.18` - `2.0.19`
v2.0.19
2025-06-28 20:08:51 +01:00
Jim Shield
d603067c77
Remove files i was testing with (forgot)
2025-06-28 20:04:50 +01:00
Jim Shield
5a97b8f83a
Fix script break stop if config file not found
2025-06-28 11:22:12 +01:00
Jim Shield
d0a09871c7
Fix for if using QBOX without ox_inventory
...
Realised that if using older (and custom) versions of qbox, the item list can't be retrieved through `GetCoreObject()`
This fixes that and also (if needed) grabs the item lists from inventories directly if needed
2025-06-27 13:35:28 +01:00
Jim Shield
e87aa8d74d
Fix server lag when loading scripts
...
This was my bad, set up functions that requested the cache from server, didn't realise it was duplicating it and spamming it
This moves the requests to a separate file and uses an export instead
Also hopefully fixes ox_lib images being an arse
2025-06-26 23:15:33 +01:00
Jim Shield
e204e6153d
remove debug prints
...
oops
2025-06-26 20:08:31 +01:00
Jim Shield
5c69f8dd28
add new function hasFreeInventorySlots()
...
using the function to grab slot info, this can now check if you have enough inventory slots for items to be given, allowing it to check before TRYING to add them
2025-06-26 20:04:32 +01:00
Jim Shield
f3fa309dbf
Revamp framework caching
...
People were reporting issues with scripts claiming items didn't exist, I believe this was due to their servers having slot starts (eg. alot of clothes or vehicles being loaded)
I've rewritten it to fully delay loading until everything is correctly cached and let the scripts continue. Also hopefully reducing memory footprint for it too.
---
Also slipped in an `experimental` function that grabs inventory config files to check their set InventoryWeight and InventorySlots to automatically apply it for other functions
---
2025-06-26 20:03:12 +01:00
Jim Shield
9d74e7cb46
Update setMetadata server event
...
Before it was JUST for durability but fixed it to work for all item metadata
2025-06-26 19:57:03 +01:00
Jim Shield
fea72bba2e
hotfix ox_lib progressbars stopping movement
v2.0.18
2025-06-23 12:54:24 +01:00
Jim Shield
b364f14260
Version Bump
...
`2.0.17` - `2.0.18`
2025-06-22 22:16:17 +01:00
Jim Shield
8077ec4f46
Add functions to try and get players inv weights
2025-06-22 20:03:12 +01:00
Jim Shield
e5277574df
Rework Auto detection of QBInvNew
...
It's messy but hopefully it will work as expected
2025-06-22 17:45:33 +01:00
Jim Shield
e0563dd4ce
Add extra triggerevent for ps-inventory
...
They keep changing their event names 🤷♀️
added a duplicate with `ps-` at the start in hopes this triggers things correctly when opening a stash
2025-06-22 17:45:04 +01:00
Jim Shield
1987cf3df3
Fix IsAnimal checks getting confused
2025-06-22 16:51:19 +01:00
Jim Shield
9f5145c3b2
Update progressBars.lua
2025-06-22 16:38:02 +01:00
Jim Shield
5921cf8adc
ProgressBar default variable fixes
2025-06-22 16:14:32 +01:00
Jim Shield
f154b45076
Enhance built in ui_modules to support RedM
2025-06-21 22:34:03 +01:00
Jim Shield
2c41272c36
Remove ClearStash export call for ps-inv
2025-06-21 18:28:50 +01:00
McKlean
57d4beafed
Commit[crafting]: commented print causing errors
...
- debugPrint was causing crafting to error
2025-06-21 16:32:49 +01:00
McKlean
bdb526bd1e
Commit[Billing]: added okok Billing
...
- Added OKOK's CreateInvoice as a choice for the billing
2025-06-21 14:52:09 +01:00
Jim Shield
bb9dbe248f
Update callback.lua
2025-06-21 13:56:49 +01:00
Jim Shield
caf2e7fbed
add support for esx_society to openBossMenu()
2025-06-21 13:29:42 +01:00
Jim Shield
d0b8fb16d6
fix for if ox_inv can't find an item when trying to get image
2025-06-21 13:29:01 +01:00
Jim Shield
2e57e66095
Fix confusion with old and new inv shop exports
2025-06-20 23:33:44 +01:00
Jim Shield
05fc856e86
small tidy up
2025-06-20 21:53:44 +01:00
Jim Shield
74e6a679e2
Tidy up onPlayerLoaded for all frameworks
2025-06-20 21:32:08 +01:00
Jim Shield
17db5aa31a
Fix QBCore OnPlayerUnload event not triggering
2025-06-20 21:12:53 +01:00
Jim Shield
387c97de71
Fix jpr erroring when clearStash is triggered
2025-06-20 20:56:45 +01:00
Jim Shield
de45491c8c
move exploit protection to new file
...
Moves Auth Token stuff to separate file because it doesn't really need to be in `itemcontrol.lua`
Helps me keep track of it better too
Also added a "cooldown" to workaround people's multicharacter scripts claiming the players loaded more than once and breaking it
2025-06-20 20:55:49 +01:00
Jim Shield
4da4cbfc15
Tidy up and organise several debugPrints better
2025-06-20 18:03:08 +01:00
Jim Shield
9fbf2f2211
Make frameworkCache.lua smurter
...
Add better checks for if theres errors in ox_inv items and add more prominent error messages all around
2025-06-20 17:47:54 +01:00
Jim Shield
41b2965743
Merge pull request #47 from oosayeroo/main
2025-06-20 13:35:45 +01:00
Jim Shield
a02c11d3cc
Update crafting.lua
2025-06-19 22:18:53 +01:00
Jim Shield
c888aa5ecf
Fix ox_inv item client info (images) caching
2025-06-19 22:15:49 +01:00
McKlean
30de9a2d9c
Version Bump
v2.0.17
2025-06-18 20:52:04 +01:00
oosayeroo
804327f3aa
Merge branch 'jimathy:main' into main
2025-06-18 19:30:56 +01:00
oosayeroo
ba59418b6d
return values (boolean)
...
- added return values on following functions
:fundPlayer
:chargePlayer
- added check for Config.System in Notify.lua
2025-06-18 19:30:21 +01:00
Jim Shield
f39678002f
Fix progressbars getting stuck on ox_lib
2025-06-18 12:02:03 +01:00
McKlean
3e402cae3d
Commit[progressBar]: ox progress options
...
- Added ability to choose circle/bar type
- Added ability for props when using progbar
2025-06-16 19:02:46 +01:00
Jim Shield
b4aa1b3eda
Version Bump
...
`2.0.15 - 2.0.16`
v2.0.16
2025-06-16 11:05:46 +01:00
Jim Shield
0f9bab00ef
add openBossmenu() function
2025-06-16 00:10:32 +01:00
Jim Shield
9d8706e8c6
Tidy up setThirst() and setHunger() functions
...
added debug print and fixed non-esx functions setting needs wrong
2025-06-14 22:32:58 +01:00
Jim Shield
6ba1e14888
Change crafting menu slightly to make it more readable
2025-06-14 14:44:16 +01:00
Jim Shield
0454f8c0a9
Add full support for JPR-Inventory
...
Thanks to JPR for providing access to make this possible
https://jpresources.tebex.io/package/5284060
2025-06-13 23:25:32 +01:00
Jim Shield
e17d8f2b93
Merge pull request #46 from oosayeroo/main
2025-06-13 18:43:21 +01:00
oosayeroo
b44dfa91e5
Merge branch 'jimathy:main' into main
2025-06-11 18:44:49 +01:00