Replaced the old `and/or` logic in the recipe ingredient loop with `math.max`
to ensure tempCarryTable[k] always stores numeric values instead of booleans.
This prevents "attempt to compare boolean with number" errors during crafting
data aggregation.
When accessing a shop or stash will now attempt to print the nearest coordinates it can find and how far the player is from it
This is more a debugging thing
Add a check for if a person is attempting to trigger remove minus of an item (possibly trying to give them selves items)
this will stop it in its tracks and warn the server console what happened
Need help with this one
`ox_inv` provides an easy function for this but most inventories don't seem to support editing specific items in a stash
`qb-inv` currently you need to forcibly edit the sql
others I'm I'm not too sure about yet
This is intended to help create automated prop based targets
Using the coordinates and specified prop models dimensions to create a correctly sized box target.
```lua
createPropTarget({
name,
target.prop.coords,
target.prop.model,
}, options, 2.0)
```
Automatically adjusts box targets for custom locations that have been set wrong
if minZ is too high, adjust it
if maxZ is too low, adjust it
and warn the client that the target has to be adjusted.
Solves people opening tickets because they half edited a location without reading my docs
Starting a "alcohol/drug" file to handle alcohol effects between scripts using exports to keep the "amount drunk/used" synchronized between scripts that use jim_bridge
There aren't many native functions for what the script can do, if anyone has any better ideas
- go to `itemcontrol.lua`
- search `ESX` and tell me what could be done better/right