Fivem Hunting script made for ox_inventory. Forked from nfire_hunting
Preview : https://youtu.be/1Fzb0yB0jn0
- Allow the player to hunt animals naturally spawning.
- Carcass are physically drag/carry.
- Carcass quality is defined by the type weapon used and if the animal has been headshot
- Anti-farm (force player to not stay on the same animal spawn point)
- Carcass degradation (sell price will decrease overtime)
ox_inventory : https://www.github.com/overextended/ox_inventory/releases/latest
ox_lib : https://github.com/overextended/ox_lib/releases/latest
ox_target : https://github.com/overextended/ox_target/releases/latest
Item to add :
['carcass_boar'] = {
label = 'Boar Carcass',
weight = 20000,
stack = false,
degrade = 5*60,
client = {
add = function()
exports.mana_hunting:CarryCarcass()
end,
remove = function()
exports.mana_hunting:CarryCarcass()
end
}
},
['carcass_hawk'] = {
label = 'Hawk Carcass',
weight = 3000,
stack = false,
degrade = 5*60,
client = {
add = function()
exports.mana_hunting:CarryCarcass()
end,
remove = function()
exports.mana_hunting:CarryCarcass()
end
}
},
['carcass_cormorant'] = {
label = 'Cormorant Carcass',
weight = 3000,
stack = false,
degrade = 5*60,
client = {
add = function()
exports.mana_hunting:CarryCarcass()
end,
remove = function()
exports.mana_hunting:CarryCarcass()
end
}
},
['carcass_coyote'] = {
label = 'Coyote Carcass',
weight = 3000,
stack = false,
degrade = 5*60,
client = {
add = function()
exports.mana_hunting:CarryCarcass()
end,
remove = function()
exports.mana_hunting:CarryCarcass()
end
}
},
['carcass_deer'] = {
label = 'Deer Carcass',
weight = 18000,
stack = false,
degrade = 5*60,
client = {
add = function()
exports.mana_hunting:CarryCarcass()
end,
remove = function()
exports.mana_hunting:CarryCarcass()
end
}
},
['carcass_mtlion'] = {
label = 'Mountain Lion Carcass',
weight = 16000,
stack = false,
degrade = 5*60,
client = {
add = function()
exports.mana_hunting:CarryCarcass()
end,
remove = function()
exports.mana_hunting:CarryCarcass()
end
}
},
['carcass_rabbit'] = {
label = 'Rabbit Carcass',
weight = 3000,
stack = false,
degrade = 5*60,
client = {
add = function()
exports.mana_hunting:CarryCarcass()
end,
remove = function()
exports.mana_hunting:CarryCarcass()
end
}
},
mana_hunting
Copyright (C) 2023 Manason nfire_hunting Copyright (C) 2021 Nfire https://github.com/N-fire This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. |
https://tldrlegal.com/license/gnu-general-public-license-v3-(gpl-3) |