Thread: Screen Sizing
View Single Post
  #5  
Old 08-22-2013, 05:39 PM
i8bit i8bit is offline
Registered User
Join Date: Jul 2013
Posts: 146
i8bit is an unknown quantity at this point
Quote:
Originally Posted by Angel_Light View Post
GraalControl.position = { x, y};
GraalControl.extent = { w, h};
Awesome... Thank you.

Now I'm just having an issue with centering it.
I tried to set the x as screenwidth/2-(what ever I set width divided by 2)..
UNTIL I realized the screen width is the width of what you can see..and not the actual window.

So my next question is how do I find out what the size of the actual client's window is?

PHP Code:
//#CLIENTSIDE
function onCreated(){
 
player.chat //Window size width;

Reply With Quote