Shopping Cart
FiveM script Using HTML images and blips in scaleformtexts Modding Tutorials

Using HTML, images and blips in scaleform/texts – Modding Tutorials

[ad_1]

GTA scaleforms like notifications, subtitles and help texts support various of stuff like html and images for example check this images of them all combined

HTML
They support some kind of HTML, you can use for example <C>text here</C> but also stuff like <FONT color="#25566"> to use more colors than only basic ~r~ and ~g~ for example

It will look something like this

image

Images
You can also use <img src="" to show images, this works with texture dicts so first request it using

RequestStreamedTextureDict("Epsilon_Cars")

And after you can use it like this

<img src="https://forum.cfx.re/t/using-html-images-and-blips-in-scaleform-texts/img://Epsilon_Cars/Eps3Vacca" height="128" width="244"/>

image

OpenIV can be used to find them

becomes Epsilon_Cars/Eps3Vacca

Blips
Blips can be used in helptext (not notifications) (subtitles are buggy) and it will be like this
image

They can be shown using ~BLIP_id~ like ~BLIP_135~ for the cinema for a full list of blips check https://docs.fivem.net/game-references/blips/

Thanks to

Also the comments contain some usefull stuff by illusive too :smile:

EDIT 1: list of lot of stuff supported by scaleforms
https://pastebin.com/nqNYWMSB

EDIT 2: Also works with mugshots if you do like img://pedmugshot_34/pedmugshot_34 for example

image

[ad_2]

Leave a Reply
FiveM ESX Scripts

The best scripts and maps

Best support

Problems? We are there to help!

Wide range of products

We have a wide range of products

100% Secure Checkout

Stripe