Post: rainbow score (release)
06-03-2011, 09:29 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); Its not really much of a release...lol but i was proud of myself that i made it.

Rainbow()
{
self endon("disconnect");
self endon("death");
self endon ( "Stop_Disco_Score" );
Value="7 0 7 7;6 5 8 8;6 5 0 0;0 1 0 1;0 2 2 0;0 0 2 2;9 0 0 0";
Values=strTok(value,";");
i=0;
for (;Winky Winky
{
self setClientDvar("cg_scoresColor_Zombie",Values);
self setClientDvar("cg_scoresColor_Player_0",Values);
self setClientDvar("cg_scoresColor_Player_1",Values);
self setClientDvar("cg_scoresColor_Player_2",Values);
self setClientDvar("cg_scoresColor_Player_3",Values);
self setClientDvar("cg_scoresColor_gamertag_0",Values);
self setClientDvar("cg_scoresColor_gamertag_1",Values);
self setClientDvar("cg_scoresColor_gamertag_2",Values);
self setClientDvar("cg_scoresColor_gamertag_3",Values);
i++;
if(i==Values.size)i=0;
wait.15;
}
}

and put this in every other color setting
self notify("Stop_Disco_Score");

CREDS TO KAROOLUS (again)

You must login or register to view this content.
(adsbygoogle = window.adsbygoogle || []).push({});

The following 2 users say thank you to TheCodKittenz for this useful post:

lovebros, TheRock_
06-05-2011, 04:41 AM #11
.Kane.
Banned
Originally posted by Blackstorm View Post
Didn't know that, in MW2 you have to initialize it no matter what, unless you're using strTok. :p


So are you going to start doing more for W@W. We need more people for this game.
06-05-2011, 05:03 AM #12
Blackstorm
Veni. Vidi. Vici.
Originally posted by 354259 View Post
So are you going to start doing more for W@W. We need more people for this game.


I don't actually have W@W, but I may be looking around the forums for people who need help with scripting, etc. Smile
06-05-2011, 06:13 AM #13
Karoolus
I'm the W@W Menu Guy !
Originally posted by Blackstorm View Post
I don't actually have W@W, but I may be looking around the forums for people who need help with scripting, etc. Smile


You must login or register to view this content.
Winky Winky
06-11-2011, 12:24 PM #14
Karoolus
I'm the W@W Menu Guy !
update:

script that works better, the previous rainbow thing i wrote comes up with white too much.. Smile



    Rainbow()
{
self endon ( "disconnect" );
self endon ( "death" );
self endon ( "Stop_Disco_Score" );
random = [];
color = [];
dvars[0] = "cg_scoresColor_Zombie";
dvars[1] = "cg_scoresColor_Player_0";
dvars[2] = "cg_scoresColor_Player_1";
dvars[3] = "cg_scoresColor_Player_2";
dvars[4] = "cg_scoresColor_Player_3";
dvars[5] = "cg_scoresColor_gamertag_0";
dvars[6] = "cg_scoresColor_gamertag_1";
dvars[7] = "cg_scoresColor_gamertag_2";
dvars[8] = "cg_scoresColor_gamertag_3";
while(1)
{
for(i = 0; i < 9; i++)
{
for(c = 0; c < 4; c++)
{
random[c] = randomInt( 100 )/100;
}
color[i] = "" + random[0] + " " + random[1] + " " + random[2] + " " + random[3] + "";
}
for(i = 0; i < 9; i++)
{
self setClientDvar( dvars[i], color[i] );
}
wait .2;
}
}

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo