Hello and welcome to our second script release, ANT-Hunting! ANT Hunting is an in-depth and immersive hunting experience. By default this script allows you to hunt up to 9 different animals and receive over 20 different potential rewards. With a built in XP system, it allows players to earn more the more they hunt! Even the ability to hunt NPCs and sell their organs on the black market! This script has been custom built from the ground up to ensure low latency and quality for your community members.
Here at Ant-Scripts, we also believe in providing variety and value. Because of this we offer both an Open Sourced version of the script and an escrowed version of the script.
Below are some of the features that this script offers:
RESMON: Idles at 0.00ms (If spawning animals, players IN hunting areas will idle around 0.02-0.04ms).
Features
XP based with level up system
Up to 9 different animals can be hunted on the hunting grounds.
Chance system allows for over 20 different rewards when harvesting animals.
Your level dictates what potential rewards you can receive while hunting (The higher your hunting level, the more rewards you can receive)
Sell your meat and other resources at local peds.
Shop to purchase hunting supplies and local xp level.
The ability to grind your meat into other resources to be used for city businesses to rp with.
Exploit checks requiring community members to hunt with certain items only or else they will “damage” the meat. For ex they cannot run it over with a car and harvest it successfully.
Human Harvesting
Require players to be a certain level before they can harvest local peds in city.
Configured list allowing you to choose what peds can be harvested.
Each item harvest from local peds in city have a quality rating which affects the items payout.
Dispatch integration for illegal hunting and harvesting.
If failed human harvesting attempt, there is a chance of leaving evidence on the scene (Fully configurable in config).
Includes animal spawning script if needed
Integrated discord log system
400 line config allows for full customization of everything in the script.
Dependencies
QB-Core
QB-Target/OX-Target
QB-Menu
QB Notify, OkOk Notify or Ox.
PS-UI, QB-Skillbar, or Ox.
Inventory (QB/LJ/PS/OX/CORE)
QB Dispatch/PS Dispatch/QS Dispatch
QB Evidence/R14 Evidence
Optional Dependencies
Ox_lib
A
B
Code is accessible
Yes for open source (Escrowed is only accessible with Config)
There are a couple sections in your client side file where you’re passing “entity” but its a table instead of the actual entity. I would recommend updating it to pass entity.entity to get the actual entity number for proper deleting.
In addition, I noticed you’re not doing anything with the table you created in the animals.lua.
My suggestion is to add a config option to enable harvesting spawned animals only from the scripting to prevent abuse with scenario’s (we’ve seen this in our own server).
I’ve converted your resource from QB to ESX. Works perfectly on our server with some of the updates I’ve made.
If you want, I’ll be happy to send you the version I have for you to consider refactoring yours a bit to account for supporting ESX thus increasing your available market.
I’m super satisfied with this scripting and strongly encourage knowledgeable customers to purchase the open source version for ESX conversion if you are disinterested in facilitating an update.
Edit: the animals.lua would also need editing for the param and a function to compare the harvesting animal with the spawn table to ensure valid conditions.
In addition, I’ve added esx_license support for purchasing a hunting license with a separate ped to spawn and facilitate this transaction. The ped will check cash, then bank if not enough cash, and process the payment from the respective accounts after validating whether the user already has a license or not.
cd_dispatch has also been added in the version I edited.
I’ve also incorporated wasabi_evidence for leaving a blood spot when harvesting human organs as well, which may be good for you to consider adding for additional support.
Again, I tell you all this in the event you want me to send you what I’ve done for you to refactor and update your scripting to make it a greater value to a wider audience.
Thanks for the kind words! Happy to see you are enjoying the script. I am pushing an update for cd_dispatch as well tonight and I’ll add wasabi_evidence as well (I don’t use Wasabi but I know many people do)
I do want at some point to convert to ESX. If you can create a ticket in our discord and help share what you’ve done I’d truly appreciate it. I am not too familiar with ESX so this will help for sure.
I do have plans to do more optimizing with this script over the coming weeks as well so more to come with this. Appreciate the feedback and support!