![]() |
Checking image width/height
I'm making a Q Menu, which works, except I'd like to have all icons centered if they're less than 32 x 32.
What's the variable called for imgwidth and imgheight. Several things i tried where: i = findImg(200); player.chat = i.imgwidth SPC i.width; // And that returned 0 0 in player.chat Any help is much appreciated. Thanks. Chris |
Quote:
PHP Code:
|
If you're using a GuiShowImgCtrl("Name") then it's Name.width and Name.height... has to come after that GuiShowImgCtrl though.
|
| All times are GMT +2. The time now is 02:43 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.