Commit Graph
250 Commits
Author SHA1 Message Date
Jim Shield 489da64c5e add a new warning for token auth 2025-05-04 15:40:20 +01:00
Jim Shield 07c35cd917 workaround for ox_inventory returning a bool
I think, if ox_inventory checks a stash that doesn't exist yet, it returns a boolean or `nil`

This checks for that and instead returns a table to hopefully stop the scripts from breaking
2025-05-04 15:21:02 +01:00
Jim Shield 3f72a21d75 Update bigMessageInstance.lua 2025-05-03 20:28:13 +01:00
Jim Shield 4ad6170a49 Fix ox_target items variable
Completely overlooked that ox_target item variable is `items` not `item`

changes
```lua
                item = opts[i].item or nil,
```
to:
```lua
                items = opts[i].item or nil,
```
2025-05-03 00:11:28 +01:00
Jim Shield 18df0817b1 Make version checks a bit more obvious
Adds more obvious prints if the current version is outdated

(and also repeats it every 20 minutes)
2025-05-02 22:22:47 +01:00
Jim Shield 0eca7ae29e Fix CodeM item slot check for metadata function
The slot data for CodeM apparently returns as a string, this fixes it trying to compare a string to a number

```lua
            if v.name == item and v.slot <= lowestSlot then
```
to
```lua
            if v.name == item and tonumber(v.slot) <= lowestSlot then
```
2025-05-02 22:20:26 +01:00
Jim Shield 6a5913230f Add better fallbacks for if no metadata table is found
```lua
                durability = v.info.durability
```
to:
```lua
                durability = v.info and v.info.durability or nil
```
2025-05-02 22:16:51 +01:00
Jim Shield b7a284e051 Fix new duty sync
This should have been placed in a `onPlayerLoaded()` but it was checking at script start for player info before that info was able to be grabbed
2025-05-02 12:29:02 +01:00
Jim Shield 37b855d7a7 Better syncing of onDuty variable
Added a check to the script start to get the current players duty (helpful if yours saves the duty through restarts)

Also added core specific triggers for job/duty changes to help keep these in sync
2025-05-02 11:20:09 +01:00
Jim Shield 59ff34c9cc Add exploit protection for :Crafting:GetItem
I unfortunately forgot to add this before when adding the extra exploit protection. Now demands an auth token before allowing crafting results to help reduce exploiters calling it externally
2025-05-01 18:07:39 +01:00
Jim Shield b81ada265b Better support for RedM's RSG Core
Nothing public uses this yet, but its very similar to QBCore which makes it very for me to support

Nothing special to note, just improves the integration for future ventures into RedM
2025-05-01 17:49:37 +01:00
Jim Shield fc2ebefc9e fix CodeM server side inventory info grab 2025-04-30 17:54:04 +01:00
Jim Shield 423b75e7d9 Tgiann Inv support added 2025-04-30 17:53:26 +01:00
Jim Shield e984a437df attempt to fix shops for QS-Inv 2025-04-30 16:54:33 +01:00
Jim Shield 0818dae0df change qs-inv metadata call to info 2025-04-30 13:21:39 +01:00
Jim Shield 771a2a3217 fix quasar crafting stash item removal 2025-04-29 23:26:10 +01:00
Jim Shield 04b3f87b32 change CodeM metadata check to info 2025-04-29 19:55:30 +01:00
Jim Shield 6c3d0ffc5e change CodeM client inv check to getUserInventory() 2025-04-29 19:55:09 +01:00
Jim Shield 3f093ce934 fix QS-Inv registerStash function 2025-04-29 17:43:37 +01:00
Jim Shield b3100a336c possible fix for lib error 2025-04-29 12:26:49 +01:00
Jim Shield 8f7f9bb009 force stash to a table when removing items 2025-04-29 02:37:47 +01:00
Jim Shield ac58fe4bb7 Fix and enhance update checker 2025-04-22 19:17:03 +01:00
Jim Shield 45c5af8e81 Fix duplicate functions and typos 2025-04-22 19:16:31 +01:00
Jim Shield 738e11c8e3 Add support for built in nui menu 2025-04-20 19:17:40 +01:00
Jim Shield d1bb796d5f implement inbuilt nui menu 2025-04-20 01:22:32 +01:00
Jim Shield b7db98ffdc esx fixes 2025-04-18 19:45:56 +01:00
Jim Shield 6ce6770df4 add checks for if MySQL has loaded for ESX 2025-04-18 16:14:42 +01:00
Jim Shield 56ef3b75b2 Fix change dui functions 2025-04-14 21:58:38 +01:00
Jim Shield bd1be5e953 add function to get animal anim table for that ped 2025-04-13 19:07:02 +01:00
Jim Shield b27f91ac87 fix playerdata check for isDead in server 2025-04-12 01:09:21 +01:00
Jim Shield 35357c07a3 add isDead and isDown to getPlayer() 2025-04-12 00:19:22 +01:00
Jim Shield 943436467e add ox checkbox option for input 2025-04-12 00:18:48 +01:00
Jim Shield 747fd272d4 fix bigmessage scaleform being local 2025-04-12 00:17:47 +01:00
Jim Shield 3ec00956df Enhance drawtext feature 2025-04-08 17:51:30 +01:00
Jim Shield 1248102635 Add more support for RedM RSGInv 2025-04-08 17:48:38 +01:00
Jim Shield 2be706a860 hopefully fix esx loading 2025-04-08 17:47:12 +01:00
Jim Shield 2da2c56705 add basic support for RedM (RSGCore) 2025-04-07 20:52:59 +01:00
Jim Shield 4d8305c844 changes for beta branch 2025-04-01 14:15:50 +01:00
Jim Shield 8611bc6d3c I am still alive 2025-03-26 21:43:48 +00:00
Jim Shield 2572f86030 input compat fixes 2025-03-11 22:41:13 +00:00
Jim Shield 83ba74bc12 fixes 2025-03-08 20:55:05 +00:00
Jim Shield 6bfb549fd0 refactor + attempt better support for other inventories 2025-03-08 13:44:05 +00:00
Jim Shield 31a7ac2951 general fixes and updates 2025-03-07 13:32:10 +00:00
Jim Shield 1cb2bdb525 fixes for jim-crafting changes 2025-03-07 13:30:17 +00:00
Jim Shield daa9dca142 fix createCallback complaining on client side 2025-03-07 13:29:43 +00:00
Jim Shield c947993e9e Add multiscript banking functions 2025-03-07 13:27:47 +00:00
Jim Shield 8dd2b7ae9a Beta: Fixes for existing scripts + feature for jim-crafting 2025-03-06 23:49:07 +00:00
Jim Shield 8eb98bff29 (Beta) Fixes for multiframework support 2025-03-01 12:58:43 +00:00
Jim Shield f9812a689e Add files via upload 2025-02-22 13:21:54 +00:00
Jim Shield e72fad0bfa Upload beta 1.2 2025-02-21 13:47:15 +00:00