Using either TextDrawSetString or PlayerTextDrawSetString adds a random character to end of the string which was passed through the function. Or just creating a textdraw.
Using this commit (450b41ee76cc852872cdf80cd7e43feff74df2cc), works fine. This helped me to find where is the problem, but took me a good 2-3 hours to figure it out.
Problem
Using either
TextDrawSetString
orPlayerTextDrawSetString
adds a random character to end of the string which was passed through the function. Or just creating a textdraw.MCVE
With
TextDrawCreate
:Prints out this:
With
TextDrawSetString
:Prints out this:
If you disable these fixes with
works fine.
More information
Using this commit (450b41ee76cc852872cdf80cd7e43feff74df2cc), works fine. This helped me to find where is the problem, but took me a good 2-3 hours to figure it out.