Author Topic: Rainbow player to grayscale player  (Read 3150 times)

I was trying to script rainbow player to  grayscale player and it will never work
Pm for the full ver of the grayscale player after i tryed to script it to help me and show what im doing wrong
Heres the bottom part i changed
Code: [Select]
function RainbowPlayerLoop()
{
    if($RainbowPlayerCount > 63)
$RainbowPlayerCount = 0;

    $R=0.5+0.5*mSin($RainbowPlayerCount*3.14/16.0);
    $G=0.5+0.5*mSin($RainbowPlayerCount*3.14/16.0+21.0);
    $B=0.5+0.5*mSin($RainbowPlayerCount*3.14/16.0+42.0);
    $pref::Avatar::PackColor=$R SPC $R SPC $R SPC "1";
    $pref::Avatar::HatColor=$R SPC $R SPC $R SPC "1";
    $pref::Avatar::LLegColor=$R SPC $R SPC $R SPC "1";
    $pref::Avatar::RLegColor=$R SPC $R SPC $R SPC "1";
    $pref::Avatar::AccentColor=$R SPC $R SPC $R SPC "1";
    $pref::Avatar::HipColor=$R SPC $R SPC $R SPC "1";
    $pref::Avatar::RHandColor=$R SPC $R SPC $R SPC "1";
    $pref::Avatar::LHandColor=$R SPC $R SPC $R SPC "1";
    $pref::Avatar::LArmColor=$R SPC $R SPC $R SPC "1";
    $pref::Avatar::RarmColor=$R SPC $R SPC $R SPC "1";
    $pref::Avatar::TorsoColor=$R SPC $R SPC $R SPC "1";
    $pref::Avatar::SecondPackColor=$R SPC $R SPC $R SPC "1";
    clientcmdupdateprefs();
    $RainbowPlayerCount++;
    $RainbowPlayer=schedule(100,0,RainbowPlayerLoop);
}

What do you mean it doesn't work, that part is just fine.

I checked under options and nothing was there for keybind Rainbow player
I did not change the keybind name

Maybe this?:
Code: [Select]
if (!$RainbowPlayerBindings)
{
   $remapDivision[$remapCount] = "Rainbow Player";
   $remapName[$remapCount] = "Activate/Deacticate";
   $remapCmd[$remapCount] = "RainbowPlayerToggle";
   $remapCount++;
   $RainbowPlayerBindings=true;
}
Place it on the top and look if it works :3



Ok when ever i spawn got that?
I try clicking the buttion what i had keybinded
Then i check on the options and the key bind thing is not there
My friend even gave me a copy of his working one and it did not work for me

Ok when ever i spawn got that?
I try clicking the buttion what i had keybinded
Then i check on the options and the key bind thing is not there
My friend even gave me a copy of his working one and it did not work for me
Stop binding default set keys to other bind friend.

Stop binding default set keys to other bind friend.

Lol, Jimmg.

It could be that he already has a funky shirt script in the add-ons folder.

Heres what i did
1.st Changed script
2.Replace old with new
3.Check for a bind spot and if its there i would bind it to End
4.Its not there

Sorry for double post but i think i got it
I think $W would work for white and $P would work for black
Locking till i have a problem