Thread: menus
View Single Post
  #9  
Old 03-05-2002, 05:30 AM
neomaximus2k neomaximus2k is offline
Registered User
Join Date: Feb 2002
Location: UK
Posts: 324
neomaximus2k is on a distinguished road
Send a message via ICQ to neomaximus2k
Re: hehe

Quote:
Originally posted by happyme
oki thanks u nice person, i luv u too
*feels unloved*
you use the showimg like tihs

showimg <ID>,<image name>,x,y

an example is this

showimg 1,test.png,screenwidth/2,screenheight/2;
that will put the point of 0,0 of the image to the exact centre spot on the screen, to have the image exactly centre then divide the haight and width of the image by 2.

Lets say the image wass 100 wide and 100 pixels heigh.
then it would be

showimg 2,test.png,(screenheight/2)-50,(screenw2idth/2)-50;

that will put the image exactly in the centre, if you want it else where then just change the X and Y values

__________________
Beware of thy Inner self
NPC Code:

_.,.__
((o\\o\))
.-. ` \\``
__( )___.o"".,___
=== ~~~~~~~~
==
= Neo

Reply With Quote