[Release | Utility] Blip Information Display

@mikou thank you sir.

:wink:

if find image .ytd files with openIV can we stream images !

You can use any texture dictionary, including custom image dictionaries streamed from a resource.

you have any example code for newbies? for : (You can use any texture dictionary, including custom image dictionaries streamed from a resource.)

Use the search function ,you can find how to do it on the forum.

Can u help me please? @mikou image error :S

image

my code:

    RequestStreamedTextureDict("patates",1)
			while not HasStreamedTextureDictLoaded("patates")  do
				Wait(1)
			end
			
		exports['blip_info']:SetBlipInfoImage(blip,"patates","patates")

my ytd: patates.ytd (2.0 MB)

my ytd directory: C:\Server\resources\streams\stream\img

RequestStreamedTextureDict("name of the dictionnary",1)
			while not HasStreamedTextureDictLoaded("name of the dictionnary")  do
				Wait(1)
			end
			
		exports['blip_info']:SetBlipInfoImage(blip,"name of the dictionnary","name of texture")

just use runtime textures tbh

https://runtime.fivem.net/doc/natives/#_0x19D81F4E

https://runtime.fivem.net/doc/natives/#_0x786D8BC3

2 Likes

you need to know the exact name of the texture that you need in the ytd file.

Thanks @mikou and @zinc

working.

:+1: good job

Added an example to the OP.

Had somebody ask me over DMs how to set this all up, so I figured Iā€™d release a sample resource that shows how itā€™s used.

Hereā€™s a side-by-side comparison:

1 Like

Hey, I noticed that you have custom blips in some of the screenshots, would you be kind enough to share how you actually done that? Of course if you wish to do so

Thanks

@06Clas, this is an English only forum.

There any why to change the blip name on this script? (Change this > http://prntscr.com/o2kmx2)

1 Like

Is there a way to stop the blips from extending the range of the minimap box?
I can see the blips on my minimap anywhere on the map.
Apart from that very nice work.
EDIT - Answered my own question lol, add the below line to world_blips\client.lua

SetBlipAsShortRange(blip, true)

And how does one change the blipname? instead of the original sprite name, to a custom blip name

This dont work , I am trying to put a blip that has many ids that define the coordinates in the config

Citizen.CreateThread(function()

RequestStreamedTextureDict("world_blips", 1)
while not HasStreamedTextureDictLoaded("world_blips") do
    Wait(0)
end

for i=1, #Config.Locations do
    local blip = Config.Locations[i]["blip"]

    if blip then
        if not DoesBlipExist(blip["id"]) then
            blip["id"] = AddBlipForCoord(blip["x"], blip["y"], blip["z"])
            SetBlipSprite(blip["id"], 52)
            SetBlipDisplay(blip["id"], 4)
            SetBlipScale(blip["id"], 1.5)
            SetBlipColour(blip["id"], 25)
            SetBlipAsShortRange(blip["id"], true)
            
            exports['blip_info']:SetBlipInfoTitle(blip["id"], "Badulake", true)
            exports['blip_info']:SetBlipInfoImage(blip["id"], "world_blips", "badulake")
            exports['blip_info']:AddBlipInfoText(blip["id"], "Tiendas de comida y cosas variadas.")

            BeginTextCommandSetBlipName("shopblip")
            AddTextEntry("shopblip", "Shop")
            EndTextCommandSetBlipName(blip["id"])
        end
    end
end

end)

@glitchdetector

is there any way to make the blip information updated?