Chaos Posted June 17, 2013 Author Share Posted June 17, 2013 i have already read this before and now i did what you told me and still same thing Link to comment
iPrestege Posted June 17, 2013 Share Posted June 17, 2013 local screenWidth,screenHeight = guiGetScreenSize() xR = { } xR[1],xR[2],xR[3],xR[4] = screenWidth*0.668/screenWidth,screenHeight*0.85/screenHeight,screenWidth*0.30/screenWidth,screenHeight*5/screenHeight expLabel = guiCreateLabel( xR[1],xR[2],xR[3],xR[4],"EXP gained: ??\nTotal EXP: ??\nLevel: Unknown",true ) Try this. Link to comment
iPrestege Posted June 17, 2013 Share Posted June 17, 2013 Just noticed because it's relative use absolute resolution .And post it here . Link to comment
Chaos Posted June 17, 2013 Author Share Posted June 17, 2013 the label not appear oh god D: i just used guieditor to change it to absolute xR = { } xR[1],xR[2],xR[3],xR[4] = screenWidth*534/screenWidth,screenHeight*510/screenHeight,screenWidth*240/screenWidth,screenHeight*600/screenHeight expLabel = guiCreateLabel( xR[1],xR[2],xR[3],xR[4],"EXP gained: ??\nTotal EXP: ??\nLevel: Unknown",true ) Link to comment
iPrestege Posted June 17, 2013 Share Posted June 17, 2013 local screenWidth,screenHeight = guiGetScreenSize() expLabel = guiCreateLabel( screenWidth*912/screenWidth,screenHeight*653/screenHeight,screenWidth*410/screenWidth,screenHeight*768/screenHeight,"EXP gained: ??\nTotal EXP: ??\nLevel: Unknown",false ) Try this ><. Link to comment
iPrestege Posted June 17, 2013 Share Posted June 17, 2013 What's your screen width - height ? Link to comment
iPrestege Posted June 17, 2013 Share Posted June 17, 2013 local screenWidth,screenHeight = guiGetScreenSize() guiCreateLabel( ( 912/1024 )*screenWidth, ( 653/768 )*screenHeight, ( 410/1024 )*screenWidth, ( 768/768 )*screenHeight,'EXP gained: ??\nTotal EXP: ??\nLevel: Unknown',false ) See if it works. Link to comment
mcer Posted June 18, 2013 Share Posted June 18, 2013 Try this (Tested by friends in my server). local screenW, screenH = guiGetScreenSize() expLabel = guiCreateLabel((screenW - 178) - 15, (screenH - 46) - 39, 178, 46,'EXP gained: ??\nTotal EXP: ??\nLevel: Unknown', false) Link to comment
Chaos Posted June 18, 2013 Author Share Posted June 18, 2013 finally it's worked thanks mcer 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