Hello,
I saw some server that had a text at the top left of the screen that change from color.
How to do something like this ?
Thank’s.
1 Like
Citizen.CreateThread(function()
while true do
Citizen.Wait(0)
SetTextFont(0)
SetTextProportional(1)
SetTextScale(0.0, 0.3)
SetTextColour(128, 128, 128, 255)
SetTextDropshadow(0, 0, 0, 0, 255)
SetTextEdge(1, 0, 0, 0, 255)
SetTextDropShadow()
SetTextOutline()
SetTextEntry("STRING")
AddTextComponentString("YOUR TEXT HERE")
DrawText(0.005, 0.005)
end
end)
This is top left, Rainbow text should be around the forums somewhere…
4 Likes
Thank’s
Must i just put this code in a file, then add it AutoStartResources ?
Thank’s.
1 Like
1 Like
Thank’s
Tu peut venir ts stp ?
Hey guys!. I want to chang font. How i can do it.
exp. Chang font to Knait font in DrawText3D
Sorry. I’m not good a English
thankss
1 Like