Source rainbow

Bombic

Member
Joined
Jun 11, 2018
Messages
9
Reaction score
0
Hello, there is any source for rainbow hud, rainbow car or another rainbow thins?
Please leave me a source or a link with a source for c++, thanks.
 

Garret

Member
Joined
Apr 27, 2017
Messages
15
Reaction score
1
https://pastebin.com/y58FRss8

Here you go dude!
 

Husnain

Well-known member
Joined
May 20, 2016
Messages
228
Reaction score
9
Location
Mars
He's trolling

Here is the skin rainbow source. You will get idea further https://pastebin.com/YDtkvKjc
 

0x32789

Expert
Joined
May 26, 2014
Messages
849
Reaction score
51
Location
LongForgotten <-> 0x32789
Y'all seriously want to get warnings right?


Bombic said:
Hello, there is any source for rainbow hud, rainbow car or another rainbow thins?
Please leave me a source or a link with a source for c++, thanks.


for(int colorid = 0; colorid < 255; colorid++) { Setwhatevercolor(veh, colorid), Sleep(500); } // idk how to do this as long as its gta sa, just use color ids and loops.
 

y0mike

Active member
Joined
May 10, 2014
Messages
97
Reaction score
41
Location
mizus girl's house
[shcode=cpp]

void Visuals::DrawRainbowHUD ( void )
{
    // 'rainbow' is our hue
    static float rainbow = 0.f;
    rainbow += 0.003f;
    if ( rainbow >= 1.f )
        rainbow = 0.f;

    // get the rainbow color from HSB
    D3DCOLOR dwRainbowColor =  g_pCore->GetGraphics ()->GetColorFromHSB ( rainbow, 1.f, 1.f );
    
    // Loop through CHudColours and change each component
    for ( int i = 0; i < 16; ++i )
    {
        *reinterpret_cast< DWORD* >( 0xBAB22C + ( sizeof ( DWORD ) * i ) ) = dwRainbowColor;
    }
}

[/shcode]
 
Top