Post: [Release] - RGB Editor
02-02-2012, 04:50 PM #1
Correy
I'm the Original
(adsbygoogle = window.adsbygoogle || []).push({});
here's a preview.


this will need to be edited to suit your menu

call it like this.
    
self thread EditColor( <element> );


and here's the coding.
    
EditColor( element )
{
self endon( "death" );
self.RGB["Init"] = true;
self.RGB["Curs"] = 0;
self thread ExitMenu();
wait .1;
self.RGB["Value"][0] = 0; self.RGB["Value"][1] = 0; self.RGB["Value"][2] = 0;
self.RGB["Bar"][0] = self createProgresBar((1,1,1), 255, 15, "RIGHT", "CENTER", 75, 0);
self.RGB["Bar"][1] = self createProgresBar((1,1,1), 255, 15, "RIGHT", "CENTER", 75, 17);
self.RGB["Bar"][2] = self createProgresBar((1,1,1), 255, 15, "RIGHT", "CENTER", 75, 34);
while( self.RGB["Init"] && !self.M["Init"])
{
//self freezeControls( true );
for( s=0; s<2; s++ ) self thread destroyOnEvent( self.RGB["Bar"][s], "death|disconnect|exit_editor" );
if( self.RGB["Curs"] < 0 ) self.RGB["Curs"] = 2;
if( self.RGB["Curs"] > 2 ) self.RGB["Curs"] = 0;
self.RGB["Value"][self.RGB["Curs"]] += self FragButtonPressed();
self.RGB["Value"][self.RGB["Curs"]] -= self SecondaryOffHandButtonPressed();
if( self AttackButtonPressed() ){ self.RGB["Curs"]++; wait 1; }
if( self ADSButtonPressed() ){ self.RGB["Curs"]--; wait 1; }
if( self.RGB["Value"][self.RGB["Curs"]] > 255 ) self.RGB["Value"][self.RGB["Curs"]] = 0;
if( self.RGB["Value"][self.RGB["Curs"]] < 0 ) self.RGB["Value"][self.RGB["Curs"]] = 255;
self.RGB["Bar"][self.RGB["Curs"]] updateBar( self.RGB["Value"][self.RGB["Curs"]]/255 );
self.RGB["RGBValue"] = ((self.RGB["Value"][0])/255,(self.RGB["Value"][1])/255,(self.RGB["Value"][2])/255);
for( x=0; x<3; x++ ) self.RGB["Bar"][x].color = self.RGB["RGBValue"];
for( i=0; i<self.RGB["Bar"].size; i++ ) self.RGB["Bar"][i].alpha = .35;
self.RGB["Bar"][self.RGB["Curs"]].alpha = 1;
if( self UseButtonPressed() ){
self iPrintln( "New color : " + self.RGB["RGBValue"] );
element.color = self.RGB["RGBValue"];
self.RGB["Init"] = false;
for( x=0; x<3; x++ )
self.RGB["Bar"][x] destroyElem();
self notify( "exit_editor" );
}
if( self UseButtonPressed() ){
self.RGB["Init"] = false;
for( x=0; x<3; x++ )
self.RGB["Bar"][x] destroyElem();
self notify( "exit_editor" );
}
wait .01;
}
self freezeControls( false );
self.RGB["Init"] = false;
for( x=0; x<3; x++ )
self.RGB["Bar"][x] destroyElem();
self notify( "exit_editor" );
}

createProgresBar(color, width, height, xAlign, yAlign, x, y)
{
Bar = self createBar(color, width, height);
Bar setPoint(xAlign, yAlign, x, y);
return Bar;
}

destroyOnEvent( element, events )
{
event = strTok( events, "|" );
for( x=0; x<event.size; x++ )
{
self waittill( event[x] );
element destroyElem();
}
}


yes its big coding, but it functions perfect.
(adsbygoogle = window.adsbygoogle || []).push({});

The following 5 users say thank you to Correy for this useful post:

FM|T xR3PMz, FourzerotwoFAILS, IVI40A3Fusionz, Taylor, xMrCheatVisionx

The following 2 users groaned at Correy for this awful post:

247Yamato, x_DaftVader_x
02-03-2012, 06:18 PM #20
247Yamato
< ^ > < ^ >
Originally posted by Correy View Post
theres a video for you trolls.


here's a preview.


Why do you make a preview after a release?
02-03-2012, 06:23 PM #21
Correy
I'm the Original
Originally posted by 247Yamato View Post
Why do you make a preview after a release?


so people can see what it looks like :confused:
02-03-2012, 09:07 PM #22
247Yamato
< ^ > < ^ >
Originally posted by Correy View Post
so people can see what it looks like :confused:


pre-view -> pre = before
re-view -> re = after

So obviously after the release, the video which you show to see how it looks like is a review, :p

The following user thanked 247Yamato for this useful post:

x_DaftVader_x
02-03-2012, 09:36 PM #23
Correy
I'm the Original
Originally posted by 247Yamato View Post
pre-view -> pre = before
re-view -> re = after

So obviously after the release, the video which you show to see how it looks like is a review, :p


before they view my code.
and for you, vader & Mikeeyy i got Newelly who watched me code this.. so you's cant blame me for ripping someone elses code.
02-03-2012, 10:22 PM #24
Originally posted by Correy View Post
before they view my code.
and for you, vader & Mikeeyy i got Newelly who watched me code this.. so you's cant blame me for ripping someone elses code.

I never said you didn't code it... Eek
02-03-2012, 10:24 PM #25
Correy
I'm the Original
Originally posted by nZxMikeeeyx View Post
I never said you didn't code it... Eek


im just saying, it was you guys who started the 'trolling'.. but for vader & 247Yamato who said/ suspected they can ask Newelly.
but it's not as if im bothered, i just do my thing and if they/ you's dont like it then it's fine Happy

The following user thanked Correy for this useful post:

nZxMikeeeyx
02-03-2012, 10:56 PM #26
IVI40A3Fusionz
Former Gaming Squad Member
Originally posted by Badman.
Metaphorically it still counts as a preview as the people who open this thread will first catch eye on the video, previewing the script below.

Also 'review' does not actually mean what you have stated, to review something you examine with an eye to criticism or correction.
ex: 're-view'.


Badman. strikes again :dance:.
02-03-2012, 11:14 PM #27
Originally posted by Badman.
Metaphorically it still counts as a preview as the people who open this thread will first catch eye on the video, previewing the script below.

Also 'review' does not actually mean what you have stated, to review something you examine with an eye to criticism or correction.
ex: 're-view'.


The prefix "re" means "to look back on", so he is basically correct. And don't forget, Yamato is Spanish, he has a better grasp of English than most English people on here Happy

The following user thanked x_DaftVader_x for this useful post:

247Yamato
02-10-2012, 03:31 AM #28
Blackstorm
Veni. Vidi. Vici.
I'm not saying you directly edited this, but it sure does look like you copied some scripts from the one Elite posted. Just saying :p

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo