Yes, to adjust all alpha at once. And thank you for pointing that flaw out but why does it still not work?
Ahh.. and yes findimg(4002)) {} should have been "j" but i used 4002 for easier testing so i could comment j completly out and see if it worked by itself, nope. I know this is possible why is it being so hard right now? I know im not drunk or on drugs so what I am seeing happening is reality.
Might be worth mentioning that when I do player.chat = i; player chat becomes "6" instantly and does not move at all, no sleep() or waitfor() or even schedualedevent() seems to make a difference. Let me try temp.i, maybe?
Okay, thank you for your help. Got it working.
PHP Code:
//#CLIENTSIDE
function onCreated() {
with (findimg(4002) ) {
this.xy2 = {screenwidth-275,25};
this.xy = {temp.poly[0]+50, temp.poly[1]+25};
polygon = {this.xy2[0],this.xy2[1],this.xy2[0]+250,this.xy2[1],this.xy2[0]+250,this.xy2[1]+75,this.xy2[0],this.xy2[1]+75};
layer = 4;
red=green=blue=25;
}
changeimgcolors(4002,0,0,0,.5);
with (findimg(4003)) {
this.xy2 = {screenwidth-215,35};
x=this.xy2[0];
y=this.xy2[1];
layer = 5;
text = "scriptless has logged on";
zoom = .7;
}
with (findimg(4004)) {
this.xy2 = {screenwidth-260,45};
x=this.xy2[0];
y=this.xy2[1];
layer = 5;
image = "head1212.png";
zoom = 1.5;
}
changeimgpart( 4004, 0, 64, 32, 32 );
for ( temp.i=0; temp.i<.60; temp.i += 0.02) {
for ( j=4002; j<4005; j++ ) {
with (findimg(j)) { alpha = temp.i; }
}
waitfor("", "noevent", 0.05);
player.chat = temp.i;
}
}