Hunting
Events
All client- & serversided events included within this script. Events serve as listeners that capture and respond to actions executed by this script.
If additional events are required for your implementation, please submit a formal request through our ticketing system on the official Discord server.
Server Events
hunting:onLicenseBought
Triggered after a hunting license has been bought successfully.
RegisterNetEvent('hunting:onLicenseBought', function(playerId) end)
playerId
number
Source of the player that bought the hunting license.
hunting:onAnimalCut
Triggered after an animal has been cut once.
RegisterNetEvent('hunting:onAnimalCut', function(playerId, animal, cutWeapon) end)
playerId
number
Source of the player that cut the animal.
animal
table
Data of the animal that has been cut.
cutWeapon
table
Data of the weapon used to cut the animal.
hunting:onAnimalKilled
Triggered after an animal has been killed.
RegisterNetEvent('hunting:onAnimalKilled', function(playerId, animal) end)
playerId
number
Source of the player that killed the animal.
animal
table
Data of the animal that has been killed.
Client Events
No client-sided events available at this time.