Jump to content

[HELP]dxDrawText error


John_Scott

Recommended Posts

Posted

I set the custom text style on my spwctatort script and the server write an eror to this line:

dxDrawText (s_Spectators, 10, textY, x, y, tocolor(255, 255, 255, 255), 0.6, myFont, 'left', 'top', false, false, false, true) 

The "myFont" lne:

    local myFont = dxCreateFont( "font.ttf", 24) 

Error:

ppiicc_www.kepfeltoltes.hu_.png

What can i do? Thanks for help!

Posted

Show meta.xml.

And what OS are you using? Are you sure "myFont" is declared in the same scope as where you are using the variable?

"[...] If you don’t love it, if you’re not having fun doing it, you don’t really love it, you’re going to give up." - Steve Jobs, 2007

Posted

Show your code.

"[...] If you don’t love it, if you’re not having fun doing it, you don’t really love it, you’re going to give up." - Steve Jobs, 2007

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...