Jump to content

Help!


Depko

Recommended Posts

Hi! I ask for help...
Faced the following problem: At creation of the text and pictures, they bad quality. A little pixel and indistinct. (dxDrawImage, dxDrawText)

What to do? How to correct it?

And such still question: How to add the font and to apply it to dxDrawText?

I am a new user in mta scripting. How to create the text, pictures without loss of quality?

Link to comment
  • Scripting Moderators
6 minutes ago, Depko said:

Hi! I ask for help...
Faced the following problem: At creation of the text and pictures, they bad quality. A little pixel and indistinct. (dxDrawImage, dxDrawText)

What to do? How to correct it?

And such still question: How to add the font and to apply it to dxDrawText?

1. Maybe that's problem? Wiki says:

Quote

Image files should ideally have dimensions that are a power of two, to prevent possible blurring.
Power of two: 2px, 4px, 8px, 16px, 32px, 64px, 128px, 256px, 512px, 1024px...

2.

https://wiki.multitheftauto.com/wiki/DxCreateFont

+

https://wiki.multitheftauto.com/wiki/DxDrawText

font, optional argument.

Edited by majqq
  • Like 1
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...