![]() |
centering images
how can you center text shown usign showimg?
like center it at a certain place, kinda like how message text; will center it on the middle of the image. also how can you center an image, using showimg. like how on weapons, the image is centered, even if its not 32,32; |
the 2nd parameter in the text showimg..
Observe... showimg 0,@Tempus sans ITC@c@The "C" befor the 'At' Sign lets me ceter this text,x,y; you can also do other things... s for strikeout b , i , and u for Bold, italics and underline |
As for images. im not quite sure what you mean. Please give me a better description.
|
you know how on the D button on the window?
no matter what the width\heigth of the weapon is, its always centered. how can i do that. |
Well youd need to know the width/hieght of the npc img =\
you could make all your images universally 1 size like... 32x32 and then do like.. showimg 0,@arial@c@Weapon,x+width/2,y+hieght; |
ill have to do that, but there should be an images[index].width
and heigth etc so we can center them etc. |
Quote:
|
it takes stefan like 5 mins to add another script feature =\
|
it takes even longer if he is lazy, maybe thats why it takes forever for scripts to get up :-)
|
| All times are GMT +2. The time now is 05:41 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.