Quote:
Originally posted by Kaimetsu
*cries*
if(playerenters){
i=0.5;
timeout=0.05;
}
if(timeout){
if(i!=0) timeout=0.05;
i-=0.05;
seteffect 0,0,0,i;
}
|
yea, but yours turns 100% dark at the end for me, so i scripted my own wich works fine for me.
NPC Code:
//#CLIENTSIDE
if (playerenters) {
i=0.5;
while(i>0){
i-=0.05;
seteffect 0,0,0,i;
sleep .05;
}
}