Hi All,
I am a bit confused. I am trying to create 2d text on a screen, just like the resource “Simple Watermark” (something along those lines), but have FiveM changed the natives you need to use since then? I have the following:
function DrawTextOnScreen(string)
SetTextFont(4)
SetTextProportional(1)
SetTextScale(0.0, 0.3)
SetTextColour(0, 0, 255, 255)
SetTextDropshadow(0, 0, 0, 0, 255)
SetTextEdge(1, 0, 0, 0, 150)
SetTextDropshadow()
SetTextOutline()
BeginTextCommandDisplayText('STRING')
AddTextComponentSubstringTextLabel(string)
EndTextCommandDisplayText(0.1, 0.1)
end
But this doesn’t seem to work. I used to use SetTextEntry()
and natives like this, but seems to be replaced with these new ones, and I simply can’t get it to work. Been trying to find if anyone has had a similar issue but I can’t find any dated around 2022. I would appreciate any help I can get, I am sure there is a simple answer, and I am just having an off night, but either way I would like to learn.
Many Thanks!