Skip to content

Manason/mana_hunting

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mana_hunting

Fivem Hunting script made for ox_inventory. Forked from nfire_hunting

Preview : https://youtu.be/1Fzb0yB0jn0 image

original author Nfire's ko-fi

Features:

  • 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)

Dependencies:

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
        }
	},


License

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.
If not, see https://www.gnu.org/licenses/gpl-3.0.html

https://tldrlegal.com/license/gnu-general-public-license-v3-(gpl-3)

About

Fivem Hunting script made for ox_inventory

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Lua 100.0%