[Release] esx_hunting - Hunt animals and sell meat

same error here when i do tpm and animal looks at me they keep one extrange idle position do you solve this problem?

How to i get blips for the deers

SOS
I got issue with this in extended V1 final
those deer wont stay shows after pressed the bottom.
those blips of them shows less them a second then disappeared!!
does anyone got some solution?

Any advise you can give will be appreciated ^^"

Create An Folder Called esx_huntingblips
Create Files Called Client.lua , __resource.lua , config.lua

On Client:

ESX                             = nil

Citizen.CreateThread(function()
  while ESX == nil do
    TriggerEvent('esx:getSharedObject', function(obj) ESX = obj end)
    Citizen.Wait(0)
  end
end)

Citizen.CreateThread(function()

  for k,v in pairs(Config.DriftStations) do

    local blip = AddBlipForCoord(v.Blip.Pos.x, v.Blip.Pos.y, v.Blip.Pos.z)

    SetBlipSprite (blip, v.Blip.Sprite)
    SetBlipDisplay(blip, v.Blip.Display)
    SetBlipScale  (blip, v.Blip.Scale)
    SetBlipColour (blip, v.Blip.Colour)
    SetBlipAsShortRange(blip, true)

    BeginTextCommandSetBlipName("STRING")
    AddTextComponentString("HUNTING")
    EndTextCommandSetBlipName(blip)
  end
end)

On __resource.lua :

resource_manifest_version '44febabe-d386-4d18-afbe-5e627f4af937'

server_scripts {
  '@es_extended/locale.lua',
  'locales/br.lua',
  'locales/en.lua',
  'locales/fr.lua',
  'locales/es.lua',
  '@mysql-async/lib/MySQL.lua',
  'config.lua',
  'server/main.lua'
}

client_scripts {
  '@es_extended/locale.lua',
  'locales/br.lua',
  'locales/en.lua',
  'locales/fr.lua',
  'locales/es.lua',
  'config.lua',
  'client/main.lua'
}

On Config.lua:

Config                            = {}
Config.DrawDistance               = 100.0
Config.MarkerType                 = 1
Config.MarkerSize                 = { x = 1.5, y = 1.5, z = 1.0 }
Config.MarkerColor                = { r = 50, g = 50, b = 204 }
Config.Locale                     = 'en'

Config.DriftStations = {

  Hunting = {

    Blip = {
      Pos     = {x = -771.99, y = 5590.31, z = 34.41 },
      Sprite  = 432,
      Display = 4,
      Scale   = 0.7,
      Colour  = 29,
    },
  },

}
3 Likes

Well, my problem is not about the blip of the location.
It’s about the blips of those deer my dear.
It’s seems like that the system itself eats those animals😨
They do appears for few ms but gone immediately.

However, after changing the location of the starting point to near the hunting ground, the problem solved🤣

1 Like

You are the best, solved my issue too! thx dude!

Not sure why you made your upload a “.rar.download” because
that breaks the rar archive. Able to download it but unable to unpack it
due to corruption errors.

Boas, se alguem me conseguir ajudar, os blips estão todos funcionais mas quando começo a caça não me apareçe os blips dos animais jå fiz varios dowloads de esx_hunting e nada e não sei o que possa ser .
Obrigado
Segue as Prints em Baixo:

Hi, a have som problem whit the blips and mini map. The blips that will been on the animals not shows up on the mini map. Can someone help me whit that?

i can confirm if you change the animals location the blips appear

i have an issue, the icon for it wont appear. anyone can help with thatt?

Look in the comments.

anyway to make animals attack you? like being agressive

Create a folder in resources called blips and create the following file: (Edit the ‘examples’)

local blips = {
    -- Example {title="", colour=, id=, x=, y=, z=},

     {title="Example 1", colour=5, id=446, x = -347.291, y = -133.370, z = 38.009},
     {title="Example 2", colour=30, id=108, x = 260.130, y = 204.308, z = 109.287}
  }
      
Citizen.CreateThread(function()

    for _, info in pairs(blips) do
      info.blip = AddBlipForCoord(info.x, info.y, info.z)
      SetBlipSprite(info.blip, info.id)
      SetBlipDisplay(info.blip, 4)
      SetBlipScale(info.blip, 1.0)
      SetBlipColour(info.blip, info.colour)
      SetBlipAsShortRange(info.blip, true)
	  BeginTextCommandSetBlipName("STRING")
      AddTextComponentString(info.title)
      EndTextCommandSetBlipName(info.blip)
    end
end)

Name it blips.lua or whatever you want, create a second file __resource.lua
Add this to it:

description 'GTA V Blips'

client_script 'blips.lua'

Then add it to your config: start blips

You can find all the different blips here: GTA-V Blip ID’s

1 Like

any pls send coords of meat sell

This script allows anyone to go and hunt. Im trying to make it as a job so that people can buy a hunting license at the place and then go to the pd and they get their sniper rifle and knife there to hunt. How would i make this a job so no one can go unless they have the job?

in the cad

Hi when using this on server and having 2-3 people hunting at the same time the “+” Blips on the screen disappear for each user slowly until there is technically no deers for them to hunt has anyone found a fix for this?

Cheers

1 Like