CPP RELEASE C++ RANDOM COLOR RGB [BEST HEKE 2K19]

Ayamabi

Active member
Joined
Mar 8, 2018
Messages
169
Reaction score
111
C++:
D3DCOLOR RandomColor()
{
    int one = rand() % 256;
    int two = rand() % 256;
    int three = rand() % 256;

    D3DCOLOR color = D3DCOLOR_ARGB(255, one, two, three);

    return color;
}

wtf
 
Last edited:

Blume

Active member
Joined
May 14, 2018
Messages
38
Reaction score
11
Location
China
why not make it easy:
C++:
D3DCOLOR RandomColor() {

    return D3DCOLOR_ARGB(255, rand() % 255, rand() % 255, rand() % 255);

}
 

0x32789

Expert
Joined
May 26, 2014
Messages
849
Reaction score
51
Location
LongForgotten <-> 0x32789
shouldnt real RENBO be like all colors increasing in RGB values every tick/call and reach the end on all RGB values then go in decreasing?!?!?!?!?!
fAke rAinBo RanDom COlor TeLePorting Ranbow?!
 
Top