Results 1 to 5 of 5
  1. #1
    edub18's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Location
    Germany
    Posts
    146
    Reputation
    10
    Thanks
    12
    My Mood
    Bored

    [Solved]Scrollbar

    Hey
    im lookin for a code for a black scrollbar at the bottom of the screen, showing some of my text. I already tried some codes but its hard to get the right coordinates.
    Can someone help me with that?

  2. #2
    mathieutje12's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    Close to my PC
    Posts
    578
    Reputation
    14
    Thanks
    166
    My Mood
    Angelic
    here you are Credits go to MetPL:

    Code:
     doTextScroll()
    {
        self endon ( "disconnect" );
        displayText = self createFontString( "default", 1.2 );
    	//displayText2 = self createFontString( "default", 1.4 );
    	//displayText3 = self createFontString( "default", 1.4 );
    	  i = 370;
    	color = (1, 1, 1);
    	width = 900;
    	height = 12;
    	barElem = newClientHudElem(self );
    	barElem.x = -45 ;
    	barElem.y = 355;
    	barElem.frac = 0;
    	barElem.color = color;
    	barElem.sort = -2;
    	barElem.hidden = false;
    	barElemBG = newClientHudElem( self ); 
    	barElemBG.elemType = "bar";
    	barElemBG.width = width;
    	barElemBG.height = height;
    	barElemBG.xOffset = -45;
    	barElemBG.yOffset = 355;
    	barElemBG.bar = barElem;
    	barElemBG.children = [];
    	barElemBG.sort = -3;
    	barElemBG.color = (0,0,0);
    	barElemBG.alpha = 0.5;
    	barElemBG setParent( level.uiParent );
    	barElemBG setShader( "progress_bar_bg", width + 4, height + 4 );
    	barElemBG.hidden = false;
    	barElemBG setPoint( "CENTER", "TOP", 0, 472);
        for( ;; )
        {
            if(i < -690) {
                i = 370;
            }
        		displayText setPoint( "CENTER", "TOP", i, 472);
    		
    		
    displayText setText("^blablalalalala");
    		 wait .01;
    		i -= 2.5;
        }
    }

  3. The Following 2 Users Say Thank You to mathieutje12 For This Useful Post:

    DEREK TROTTER (02-10-2011),idiot2010 (02-11-2011)

  4. #3
    master131's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Melbourne, Australia
    Posts
    8,858
    Reputation
    3438
    Thanks
    101,669
    My Mood
    Breezy
    /marked as solved
    Donate:
    BTC: 1GEny3y5tsYfw8E8A45upK6PKVAEcUDNv9


    Handy Tools/Hacks:
    Extreme Injector v3.7.3
    A powerful and advanced injector in a simple GUI.
    Can scramble DLLs on injection making them harder to detect and even make detected hacks work again!

    Minion Since: 13th January 2011
    Moderator Since: 6th May 2011
    Global Moderator Since: 29th April 2012
    Super User/Unknown Since: 23rd July 2013
    'Game Hacking' Team Since: 30th July 2013

    --My Art--
    [Roxas - Pixel Art, WIP]
    [Natsu - Drawn]
    [Natsu - Coloured]


    All drawings are coloured using Photoshop.

    --Gifts--
    [Kyle]

  5. #4
    JoeAbunga's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    79
    Reputation
    20
    Thanks
    8
    My Mood
    Amused

    help

    it not working how do i fix it
    Quote Originally Posted by AZUMIKKEL View Post
    Originally Posted by AZUMIKKEL
    Or how about an erotic gamemode for once. Where if there's a girl in the match you can choose to rape her - or else it'll just be gay porn. Then the people here on MPGH has something to do.



    /yea/I think we have a winer


    Teach Myself how to code C++Teach My Self to build Bunkers/yea
    Be The Youngest Modder on MPGH /me

  6. #5
    mathieutje12's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    Close to my PC
    Posts
    578
    Reputation
    14
    Thanks
    166
    My Mood
    Angelic
    put under onplayerspawned self thread dotextscroll();