![]() |
Using Loops to Change GUI Alpha
I am trying to change the alpha of a tool on a staff tool bar I made for a UC server, so I used a for loop to do so. Originally, doing this would work:
PHP Code:
PHP Code:
|
Avoid using continue and break when you don't have to.
PHP Code:
|
Hey,
Thanks for your quick reply! Unfortunately, this does not change the alpha of the image like I stated. I'll give you my full code if that helps. PHP Code:
The Doctor |
Change:
temp.thing = ("DoctorStaffBar_Control" @ temp.code); To: temp.thing = makevar("DoctorStaffBar_Control" @ temp.code); KeyPress can be shortened, unless you plan to changing it from the number keys: PHP Code:
|
Hey,
Thanks for your help! I was wondering if there was a function to make a variable, thanks for pointing it out. Cheers! I'll post the whole script in the code gallery when I'm done :) Quote:
|
All times are GMT +2. The time now is 06:25 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.