In new game, it works perfectly fine for me but when I try it in the CS2D_Dedicated it appears to not show up.
There are no differences in between CS2D and CS2D_Dedicated, they use the exact same CS2D folder.
The problem seems to be caused by the string that I try to show in the HUDTXT but I'm unsure what is the exact problem in it, since it works in New Game just fine!
I even tried printing the string to the console, or using tostring or brackets and many other weird things but the problem persists only in the dedicated server!
I even went as far to manually call the HUDTXT2 function and making sure the parse is being called for the command and everything is 100% working except for the fact the HUDTXT only shows if I'm not adding the string to it:
"Controls:" - Works.
"Controls: ' .. string" - Doesn't work.
The string:
1
Controls: (©255255255Turn Right©255220000 -> ©255255255D©255220000) (©255255255Gear Up©255220000 -> ©255255255W©255220000) (©255255255Turn Left©255220000 -> ©255255255A©255220000) (©255255255Horn©255220000 -> ©255255255G©255220000) (©255255255Gear Down©255220000 -> ©255255255S©255220000) (©255255255Headlights©255220000 -> ©255255255H©255220000)
Could this be because of the huge amounts of colors? Is there a limit to how many colors the dedicated can show as compared to the local host?
Edit: It appears that the problem was caused by the colors, too many of them made it so only the local Server can view them.
Will this be fixed?
edited 1×, last 06.07.19 08:59:25 pm