View Single Post
  #20  
Old 12-11-2001, 11:15 AM
nyghtGT nyghtGT is offline
Banned
nyghtGT's Avatar
Join Date: Jun 2001
Posts: 3,993
nyghtGT is on a distinguished road
Send a message via AIM to nyghtGT
Re: screenheight & width

Quote:
Originally posted by Saga2001
...
screenwidth is the width <--> of the player's screen so if you wanted to display a text centered... it is:
NPC Code:

showimg 201,@text,screenwidth/2,120;
changeimgvis 201,4;


screenheight is the height ^ of the player's screen so the script to center text vertically is:
|
v
NPC Code:

showimg 201,@text,120,screenheight/2;
changeimgvis 201,4;


got it?
thanx for explaining a good way for me to center my tool bars on my status screens and stuff for my server ...
Reply With Quote