karlis Posted May 19, 2011 Share Posted May 19, 2011 say where you want it to be, we will sort it. Link to comment
SnoopCat Posted May 19, 2011 Author Share Posted May 19, 2011 (edited) there is where i want it: and this i get whit other resolution: Edited May 19, 2011 by Guest Link to comment
karlis Posted May 19, 2011 Share Posted May 19, 2011 403 - forbidden error. please upload to something like tinypic.com imageshack.com Link to comment
SnoopCat Posted May 19, 2011 Author Share Posted May 19, 2011 there they are but copi image link and see out of forum cuz they are not complete... Link to comment
karlis Posted May 19, 2011 Share Posted May 19, 2011 ok, should work dxDrawImage (x-100,100,36,35,getElementData(localP,"overrideCollide.uniqueblah") and "ghostmodeon.png" or "ghostmodeoff.png") if the images are inverted, just invert the image path. Link to comment
Moderators Citizen Posted May 21, 2011 Moderators Share Posted May 21, 2011 there is the image line: dxDrawImage (x-100,y-540,36,35,getElementData(localP,"overrideCollide.uniqueblah") and "ghostmodeon.png" or "ghostmodeoff.png") Just say us with what resolution the position is perfect, and I can make it Ok so I think you was in 800*600 so try this: local xx, yy = relativeToAbsolute(0.875,0.1) local sxx, syy = relativeToAbsolute(0.045,0.0583) dxDrawImage (xx,yy,sxx,syy,getElementData(localP,"overrideCollide.uniqueblah") and "ghostmodeon.png" or "ghostmodeoff.png") function relativeToAbsolute(x, y) local screenX, screenY = guiGetScreenSize() local X = x*screenX local Y = y*screenY return X, Y end Link to comment
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