Jump to content

dxDrawImage Error ?


Karuzo

Recommended Posts

Posted

Hey Guys,

i get a strange problem when i create an image with dxDrawImage.

Heres my line:

  
--the coords are just for testing. 
dxDrawImage( 0, 0, 200,200, "map.jpg") 
  

but what i get is this error:

sMP6gsK.png

Heres another screenshot of my folder.

mauZs2R.png

And heres my meta.xml:

    --Info--> 
        "KRZO" type="script" name="PRJX Radar" version="1.0" /> 
    --Client--> 
        "map.jpg"/> 
        

  • Moderators
Posted
I am 100% sure.

It means you changed the explorer's settings to uncheck the line: "Hide the extention of known files".

By the way, I would suggest you to open it in an image editor and save it again. And ou can also try with another extension too.

Posted

Yep @StrangerTV:

What should i post ?lol.

I just have an dxDrawImage inside of an onClientRender Event.

The other things are unnecessary

Posted

As you can see the problem is not with the event. It's with the image. But i just dunno what it could be.

A friend of mine, which is a pretty good scripter, has looked at the code and didn't found a problem , so yeah.

  • Moderators
Posted
By the way, I would suggest you to open it in an image editor and save it again. And ou can also try with another extension too.

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