[Release] [ESX] SecretBlips - Make Blips visible with an Item

SecretBlips

FiveM Script - Make Blips visible with an Item

Github Download: GitHub - Musiker15/SecretBlips: FiveM Script - Make Blips visible with an Item

A few people are requesting this in another fivem forum, so I thought I release it :slight_smile:

Description

  • You can set the Item you want to use.
  • You can set the Blips that you want to show after using the item.

Config

Config = {}
Config.Locale = 'de'

Config.Framework = 'ESX' -- Set to 'ESX' or 'QBCore' || If 'nil', the Script won't work.

-- Only works for ESX Framework, not for QBCore yet.
Config.RemoveItem = true -- Set this to 'false' if you don't want to remove blips after you removed the item form you inventory.

Config.EnableBlipTime = false -- Set to 'true' if you want to remove blips after time.
Config.BlipTime = 60 -- in seconds // After this time the blips will be removed.

Config.DrugItem = "drug_map" -- Set your Item here then insert into your database.
Config.SecretBlips = { -- Add your Blips here
	{x = -623.44, y = -823.08, z = 25.25, display = "Blipname", blip = 51, color = 5, scale = 0.8},
}

Requirements

License

GNU General Public License v3.0
You can use and edit this Script but please do not reupload this without tagging me

Changelogs

Update v2.0
  • Added QBCore Support - not tested
  • Added locale files
  • Added Config.RemoveItem = true - Set this to ‘false’ if you don’t want to remove blips after you removed the item form you inventory.
  • Added Config.BlipTime = 60 - After this time the blips will be removed.
10 Likes

Really cool idea! Thanks!

1 Like

does this work on 1.3 too ?

I just test it on ESX 1.2 so please try it and give Feedback :slight_smile:

I created this a long time ago for QBCore

can you link me this qbcore version please

(I will translate the README to english soon)

Update v2.0

  • Added QBCore Support - not tested
  • Added locale files
  • Added Config.RemoveItem = true - Set this to ‘false’ if you don’t want to remove blips after you removed the item form you inventory.
  • Added Config.BlipTime = 60 - After this time the blips will be removed.

For those who have an error in Server.lua:39 make sure that you replace QBCore:Client:Notify to 'QBCore:Client:Notify'
That should be fix this error :slight_smile: