[QBCore] am-scraptheft - Steal scrap materials!
This script allows players to steal scrap materials from various objects on the map (i.e. air conditioning units).
Requirements
- QBCore Framework
- qb-target
- Support for ps-dispatch & cd_dispatch (optional for police alerts)
Features
- Highly configurable
- Protected against LUA injectors: Uses a server generated randomised token to authenticate before sending rewards to the clients (not tested with a LUA injector as I don’t have one, but the logic seems to work properly)
- Support for ps-dispatch
- Customisable random dispatch messages and callers -Configurable rewards for each object
Installation
See the github
Support
Any issues/bugs open a issue on the github. This is my first resource release (I’m still learning, so support may be limited but I will do what I can). Feel free to share and modify to suit your needs, or open a pull request if you have any improvements!
Known issues
- The oxy torch prop doesn’t always disappear, but this can be fixed by going to scrap another object and cancelling it. I haven’t worked out how to fix this yet - Any pull requests to fix this would be much appreciated.
Preview
Download