HACKING GODS

Hey you login or leave

Join the forum, it's quick and easy

HACKING GODS

Hey you login or leave

HACKING GODS

Would you like to react to this message? Create an account in a few clicks or log in to continue.

**** NON HACKERS GET LOST****


    mod men cursor script

    /away S&SGUMMYBEAR
    /away S&SGUMMYBEAR
    Admin


    Posts : 14
    Join date : 2011-08-20
    Age : 28
    Location : in the tower on array... watching ;)

    mod men cursor script Empty mod men cursor script

    Post  /away S&SGUMMYBEAR Sun Aug 21, 2011 3:24 pm

    createCursor() ////STOLE FROM //FU2//Death's post on callofdutyblcodes.forumotion.com!
    {
    if( self._configuration["cursorStyle"] == 0 )
    {
    if( self._configuration["layout"] == 0 || self._inEditor == 1 )
    {
    self._cursor["element"] = self createFontString( "default", 3.40 );
    self._cursor["element"] defineElement( self._configuration["cursorStyle0Color"], true, "center", "middle", 0, 0, 0, 3 );
    self._cursor["element"] setText( "." );
    }
    else if( self._configuration["layout"] == 1 )
    {
    self._cursor["element"] = self createFontString( "default", 3.40 );
    self._cursor["element"] defineElement( self._configuration["cursorStyle0Color"], true, "right", "middle", self._header["element"].x, 0, 0, 3 );
    self._cursor["element"] horzAlign( "left" );
    self._cursor["element"] setText( "." );
    }
    }
    else if( self._configuration["cursorStyle"] == 1 )
    {
    self._cursorOutline["top"] = newClientHudElem( self );
    self._cursorOutline["top"] defineElement( ( 1, 1, 1 ), true, "center", "middle", 0, -10, 0, 4 );
    self._cursorOutline["top"] setShader( "white", 300, 1 );

    self._cursorOutline["bottom"] = newClientHudElem( self );
    self._cursorOutline["bottom"] defineElement( ( 1, 1, 1 ), true, "center", "middle", 0, 10, 0, 4 );
    self._cursorOutline["bottom"] setShader( "white", 300, 1 );

    self._cursorOutline["left"] = newClientHudElem( self );
    self._cursorOutline["left"] defineElement( ( 1, 1, 1 ), true, "center", "middle", -150, 0, 0, 4 );
    self._cursorOutline["left"] setShader( "white", 1, 20 );

    self._cursorOutline["right"] = newClientHudElem( self );
    self._cursorOutline["right"] defineElement( ( 1, 1, 1 ), true, "center", "middle", 150, 0, 0, 4 );
    self._cursorOutline["right"] setShader( "white", 1, 20 );

    self._cursor["shader"] = newClientHudElem( self );
    self._cursor["shader"] defineElement( self._configuration["cursorStyle1Color"], true, "center", "middle", 0, 0, 0, 3 );
    self._cursor["shader"] setShader( "white", 300, 20 );
    }
    }

    showCursor()
    {
    if( self._configuration["cursorStyle"] == 0 )
    {
    self._cursor["element"].alpha = 1;
    }
    else if( self._configuration["cursorStyle"] == 1 )
    {
    self._cursorOutline["top"].alpha = 1;
    self._cursorOutline["bottom"].alpha = 1;
    self._cursorOutline["left"].alpha = 1;
    self._cursorOutline["right"].alpha = 1;
    self._cursor["shader"].alpha = 0.40;
    }
    }

    hideCursor()
    {
    if( self._configuration["cursorStyle"] == 0 )
    {
    self._cursor["element"].alpha = 0;
    }
    else if( self._configuration["cursorStyle"] == 1 )
    {
    self._cursorOutline["top"].alpha = 0;
    self._cursorOutline["bottom"].alpha = 0;
    self._cursorOutline["left"].alpha = 0;
    self._cursorOutline["right"].alpha = 0;
    self._cursor["shader"].alpha = 0;
    }
    }

    destroyCursor()
    {
    if( self._configuration["cursorStyle"] == 0 )
    {
    self._cursor["element"] destroy();
    }
    else if( self._configuration["cursorStyle"] == 1 )
    {
    self._cursorOutline["top"] destroy();
    self._cursorOutline["bottom"] destroy();
    self._cursorOutline["left"] destroy();
    self._cursorOutline["right"] destroy();
    self._cursor["shader"] destroy();
    }
    }


    Last edited by //FU2//Death on Thu Sep 01, 2011 9:50 am; edited 1 time in total (Reason for editing : CUZ GUMMYBEARS A DOOSH)

      Current date/time is Fri Apr 26, 2024 4:59 am