Post: [Release]Scrollbar, and its colours
04-10-2011, 10:17 AM #1
z7EVoLuTioN7z
I UsEd to be EGGG
(adsbygoogle = window.adsbygoogle || []).push({}); Dunno if this has been released before but i'm pretty sure it hasn't. This code was in karoolus's patch aw while ago but this could be used for any patch. My idea was that you could build a menu so that you can choose your own inside the level. I am currently trying to do that now but i'm releasing this so you guys can try too!

    //menu scrollbar
self.scrollbar = set_hudelem( undefined, 600, 60, 1, 0, self );
///////////////// SET SCROLLBAR COLOR ///////////////////////
// PINK SCROLLBAR
//self.scrollbar.color = (1,0.41,0.71);
// RED SCROLLBAR
self.scrollbar.color = ( 1, 0, 0 );
//BLUE SCROLLBAR //Just choose one colour for the scrollbar by taking away the // like the red is selected at the moment
//self.scrollbar.color = ( 0, 0, 1 );
// CYAN SCROLLBAR
//self.scrollbar.color = ( 0, 1, 1 );
// GREEN SCROLLBAR
//self.scrollbar.color = ( 0, 1, 0 );
// ORANGE SCROLLBAR
//self.scrollbar.color = ( 1, 0.5, 0 );
// PURPLE
//self.scrollbar.color = ( 1, 0, 1 );
//YELLOW SCROLLBAR
//self.scrollbar.color = ( 1, 1, 0 );
//////////////////////////////////////////////////////////////
self.scrollbar setshader("white", 200, 15);
self.scrollbar.sort = 3;
for(;
{
(adsbygoogle = window.adsbygoogle || []).push({});

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

.Andy, Pinguu
04-10-2011, 10:50 AM #2
.Andy
[move]I do it for teh Nonz :carling:[/move]
Looks Awesome, Gona test i now. Thanks :y:
04-10-2011, 10:56 AM #3
z7EVoLuTioN7z
I UsEd to be EGGG
Originally posted by andykid103 View Post
Looks Awesome, Gona test i now. Thanks :y:


No problem Winky Winky
04-10-2011, 01:06 PM #4
little_legz
SleepinIsCheatin
You need to add
    Winky Winky
to the
    for(;
at the bottom before the
     {
04-10-2011, 01:11 PM #5
RGB
2JZ BBWWARRMMMMM
quite a bit of code just for a scroll bar
04-10-2011, 01:22 PM #6
z7EVoLuTioN7z
I UsEd to be EGGG
Originally posted by xv View Post
quite a bit of code just for a scroll bar


yh but i added most the colours all you need is one line...
04-10-2011, 01:23 PM #7
RGB
2JZ BBWWARRMMMMM
Originally posted by EGGG View Post
yh but i added most the colours all you need is one line...


hmmmm i see, would be shit without colour tho

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo