Jump to content

[help] guicreatelabel resolution


Chaos

Recommended Posts

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

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

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

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