Hello,
i have a 3d text:
Citizen.Wait(0)
local p = GetGameplayCamCoords()
local onScreen, _x, _y = World3dToScreen2d(440.8641,-981.6059,30.6896)
local distance = GetDistanceBetweenCoords(p.x, p.y, p.z, 440.8641,-981.6059,30.6896, 1)
if onScreen and distance < 25.0 then
SetTextScale(0.0, 0.35)
SetTextFont(0)
SetTextProportional(1)
SetTextColour(255, 255, 255, 255)
SetTextDropshadow(0, 0, 0, 0, 255)
SetTextEdge(2, 0, 0, 0, 150)
SetTextDropShadow()
SetTextOutline()
SetTextEntry("STRING")
SetTextCentre(1)
AddTextComponentString("Rozvazeč pizzy")
DrawText(_x,_y)
end
end)
But character “č” does not display. How to set UTF8 character set? Thanks for any help