multitheftauto / mtasa-blue

Multi Theft Auto is a game engine that incorporates an extendable network play element into a proprietary commercial single-player game.
https://multitheftauto.com
GNU General Public License v3.0
1.3k stars 412 forks source link

Server-side outputDebugString level 4 colors are broken #3471

Closed srslyyyy closed 1 week ago

srslyyyy commented 2 weeks ago

Describe the bug

image

Steps to reproduce

outputDebugString("debug message level 4", 4, 255, 255, 255)

Version

Latest

Additional context

Introduced in #3440 It seems that reverting to:

SLuaDebugInfo luaDebugInfo;
LogString("", luaDebugInfo, szBuffer, 0, ucRed, ucGreen, ucBlue);

Fixes it.

Relevant log output

No response

Security Policy