![]() |
GUI image changing
1 Attachment(s)
Hey there. After I was reading a tutorial how to change the default GUI images, I was trying out on that. But when I wanted to try out on buttons, I got the following fail. Idk if its with more GUI tools.
The text of the GUI button isnīt centered anymore. Itīs aligned left now. Here is a small screenshot: Attachment 53112 When I use the default GUI style, everything works fine. Hereīs the script part: PHP Code:
|
Try setting:
profile.fontStyle = "bc"; profile.align = "center"; |
oh ok thx
|
You should still set a profile when you use useownprofile. I.e:
profile = GuiButtonProfile; |
Oh ok. I thought its useless since i made useOwnProfile = true;
|
Quote:
You can also make your own profiles so you don't have to use 'useownprofile' in every button you make. I.e: Weapon: -Profiles PHP Code:
PHP Code:
|
All times are GMT +2. The time now is 12:32 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.