Post: [SCRIPT] Flashing Killfeed
11-05-2011, 03:46 AM #1
ImDUB
Pokemon Trainer
(adsbygoogle = window.adsbygoogle || []).push({}); Not sure if there are any errors because i cant check, i have to run linux and don't know any way to edit patches :(

*IF YOU CAN HELP ME PM PLEASE*
and if there is an error tell me thanks.

Thread to menu with FlashFeed() or FlashFeed

    
FlashFeed()
{
if(self.FlashFeed == false)
{
self thread doFeed();
self.FlashFeed = true;
}
else
{
self thread endFeed();
self.FlashFeed = false;
}
}

doFeed()
{
self endon("disconnect");
self endon("end_feed");
while(1)
{
setDvar( "g_TeamColor_Axis", randomInt(1)+" "+randomInt(1)+" "+randomInt(1)+" "+randomInt(1); )
wait .1;
}
}
endFeed()
{
self notify("end_feed");
setDvar( "g_TeamColor_Allies", "0.7 0.7 0.7" );
setDvar( "g_TeamColor_Axis", "1 0.85 0.3 1" );
}

So yea there it is

Credits to:
Me
xYARDSALEx
Correy
(adsbygoogle = window.adsbygoogle || []).push({});
11-05-2011, 04:23 AM #2
Taylor
Former Black Knight.
Originally posted by cod
Well i got bored and tried to do flashing killfeed and it worked sooooo

    
doFeed()
{
self endon("disconnect");
self endon("end_feed");
while(1)
{
setDvar( "g_TeamColor_Axis", "0 0 0 1" );
wait .1;
setDvar( "g_TeamColor_Axis", "1 0 0 1" );
wait .1;
setDvar( "g_TeamColor_Axis", "0 1 0 1" );
wait .1;
setDvar( "g_TeamColor_Axis", "1 1 1 1" );
wait .1;
setDvar( "g_TeamColor_Axis", " 0 0 1 1" );
wait .1;
}
}

Stop ithe function with..
    
endFeed()
{
self notify("end_feed");
setDvar( "g_TeamColor_Allies", "0.7 0.7 0.7" );
setDvar( "g_TeamColor_Axis", "1 0.85 0.3 1" );
}

So yea there it is

Nice Work, Your New To Here Arent You?
11-05-2011, 04:25 AM #3
ImDUB
Pokemon Trainer
No, just not active :P

The following user thanked ImDUB for this useful post:

Taylor
11-05-2011, 04:27 AM #4
IVI40A3Fusionz
Former Gaming Squad Member
Originally posted by xYARDSALEx View Post
Nice Work, Your New To Here Arent You?


Lol since you made a flashing scrollbar for your patch and i remade it and released the script there's been flashing this flashing that scripts all over this forum lately Happy.

The following user thanked IVI40A3Fusionz for this useful post:

Taylor
11-05-2011, 04:31 AM #5
Taylor
Former Black Knight.
Originally posted by IVI40A3Fusionz View Post
Lol since you made a flashing scrollbar for your patch and i remade it and released the script there's been flashing this flashing that scripts all over this forum lately Happy.


IKr, And BTW To All People Heres A Toggle Of The COde Above:


FlashFeed() //You Wud Thread This From Menu!!!
{
if(self.FlashFeed == false)
{
self thread doFeed();
self.FlashFeed = true;
}
else
{
self thread endFeed();
self.FlashFeed = false;
}
}
doFeed() //You DOnt Thread THis From Menu
{
self endon("disconnect");
self endon("end_feed");
while(1)
{
setDvar( "g_TeamColor_Axis", "0 0 0 1" );
wait .1;
setDvar( "g_TeamColor_Axis", "1 0 0 1" );
wait .1;
setDvar( "g_TeamColor_Axis", "0 1 0 1" );
wait .1;
setDvar( "g_TeamColor_Axis", "1 1 1 1" );
wait .1;
setDvar( "g_TeamColor_Axis", " 0 0 1 1" );
wait .1;
}
}
endFeed() //DOnt Thread THis Either!!!
{
self notify("end_feed");
setDvar( "g_TeamColor_Allies", "0.7 0.7 0.7" );
setDvar( "g_TeamColor_Axis", "1 0.85 0.3 1" );
}


You All Are Welcome

The following user thanked Taylor for this useful post:

IVI40A3Fusionz
11-05-2011, 06:37 PM #6
Correy
I'm the Original
Originally posted by cod
Well i got bored and tried to do flashing killfeed and it worked sooooo

    
doFeed()
{
self endon("disconnect");
self endon("end_feed");
while(1)
{
setDvar( "g_TeamColor_Axis", "0 0 0 1" );
wait .1;
setDvar( "g_TeamColor_Axis", "1 0 0 1" );
wait .1;
setDvar( "g_TeamColor_Axis", "0 1 0 1" );
wait .1;
setDvar( "g_TeamColor_Axis", "1 1 1 1" );
wait .1;
setDvar( "g_TeamColor_Axis", " 0 0 1 1" );
wait .1;
}
}

Stop the function with..
    
endFeed()
{
self notify("end_feed");
setDvar( "g_TeamColor_Allies", "0.7 0.7 0.7" );
setDvar( "g_TeamColor_Axis", "1 0.85 0.3 1" );
}

So yea there it is


    
doFeed()
{
self endon("disconnect");
self endon("end_feed");
while(1)
{
setDvar( "g_TeamColor_Axis", randomInt(1)+" "+randomInt(1)+" "+randomInt(1)+" "+randomInt(1);
wait .1;
}
}


completely randomize the colors

The following user thanked Correy for this useful post:

ImDUB
11-05-2011, 07:14 PM #7
247Yamato
< ^ > < ^ >
Originally posted by Correy View Post
    
doFeed()
{
self endon("disconnect");
self endon("end_feed");
while(1)
{
setDvar( "g_TeamColor_Axis", randomInt(1)+" "+randomInt(1)+" "+randomInt(1)+" "+randomInt(1);
wait .1;
}
}


completely randomize the colors


You will randomize A LOT more if you change randomint for randomfloat
11-05-2011, 07:16 PM #8
Correy
I'm the Original
Originally posted by 247Yamato View Post
You will randomize A LOT more if you change randomint for randomfloat


i haven't came across randomFloat, whats that?

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo