Karuzo Posted March 6, 2014 Posted March 6, 2014 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: Heres another screenshot of my folder. And heres my meta.xml: --Info--> "KRZO" type="script" name="PRJX Radar" version="1.0" /> --Client--> "map.jpg"/>
manawydan Posted March 6, 2014 Posted March 6, 2014 you can post script? you use addEventHandler("onClientRender"....) to render image?
Arnold-1 Posted March 6, 2014 Posted March 6, 2014 hmm are you sure the name of your image isn't map.jpg.jpg because it seems like that
Moderators Citizen Posted March 6, 2014 Moderators Posted March 6, 2014 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.
Karuzo Posted March 6, 2014 Author Posted March 6, 2014 Yep @StrangerTV: What should i post ?lol. I just have an dxDrawImage inside of an onClientRender Event. The other things are unnecessary
Karuzo Posted March 6, 2014 Author Posted March 6, 2014 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.
oPIXz Posted March 6, 2014 Posted March 6, 2014 i think so that problem with your IMG "map.jpg" try to change it ?
Moderators Citizen Posted March 7, 2014 Moderators Posted March 7, 2014 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now