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
I realised in trying to increase readability and optimize, I broke crafting recipes that supported different multiple recipes in the same list
eg. Mining has 3 recipes in the smelter for `goldingot`
This reverts the system back to the previous recipe style but keeps all the fixes/features from the latest updates