Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dxdrawtext bug #4020

Open
1 task done
thommybabapro opened this issue Feb 13, 2025 · 4 comments
Open
1 task done

dxdrawtext bug #4020

thommybabapro opened this issue Feb 13, 2025 · 4 comments
Labels
bug Something isn't working

Comments

@thommybabapro
Copy link

Describe the bug

Image

dxdrawtext interruption bug pls fix :(

Steps to reproduce

i dont know pls help

Version

v1.6-22953

Additional context

No response

Relevant log output

Security Policy

  • I have read and understood the Security Policy and this issue is not security related.
@thommybabapro thommybabapro added the bug Something isn't working label Feb 13, 2025
@Xenius97
Copy link
Contributor

Can you provide any script snippet to reproduce this?

@stestseseataes
Copy link

Image

dxDrawText(“THOM UI DASHBOARD”, 10, 100, nil, nil, tocolor(0, 0, 0), 1, font)
this problem may be caused by the font you are using, in this image I am using classic RobotoB.

https://nightly.multitheftauto.com/
Update the server version, change the font and rewrite it.

@thommybabapro
Copy link
Author

local customFonts = {
solustkose = dxCreateFont('typearchive/fonts/Helvetica-Bold-Font.ttf', 10),
}
i do dxDrawText('THOM UI DASHBOARD', 76, 48, 0, 0, tocolor(45, 55, 72, 255), 1, customFonts.solustkose)

@marlonzemella
Copy link

marlonzemella commented Feb 21, 2025

@thommybabapro Whenever this has happened to me, I've had to move the text a few pixels up or down, which usually solves the problem.
You can also try decreasing or increasing the font, as in some cases some fonts may not be compatible with the MTA as expected

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants