Moderators Citizen Posted March 13, 2011 Moderators Share Posted March 13, 2011 ... Fail.Why you say that ? It's a free post for me Link to comment
proracer Posted March 13, 2011 Author Share Posted March 13, 2011 @Citizen: Text and picture is again in correct position but other people are reporting other positions and its in mess.What is wrong? Link to comment
H5N1 Posted March 13, 2011 Share Posted March 13, 2011 maybe use this viewtopic.php?f=91&t=24262 ? Link to comment
Moderators Citizen Posted March 14, 2011 Moderators Share Posted March 14, 2011 @Citizen: Text and picture is again in correct position but other people are reporting other positions and its in mess.What is wrong? Yeah sorry, I made an error in my converter replace the old by this one: function AbsoluteToRelativ( X, Y ) -- this coverter transforms the gui position and size for the resolution of the player local rX, rY = guiGetScreenSize() local x = math.floor((X/1920)*rX) local y = math.floor((Y/1080)*rY) return x, y end I'm sure it's works Link to comment
proracer Posted March 14, 2011 Author Share Posted March 14, 2011 Thanks it works now. Link to comment
Moderators Citizen Posted March 14, 2011 Moderators Share Posted March 14, 2011 No problem, it was my fault 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