Animated Crosshair
  1. #1

    Animated Crosshair

    Code:
    void cCross::CrossHair( void )
    {
    	if (basehook.m_psCvar->vis_crosshair == 1)
    	{
    
    	basehook.m_psCvar->xhair  = basehook.m_psCvar->xhair+1; //count a cvar up
    
    	if (basehook.m_psCvar->xhair == 70) // if enought
    	{
    		basehook.m_psCvar->xhair = -70; // set back
    	}
    
            //draw a permanent circle
    	basehook.m_pMatSurface->DrawColoredCircle((sScreenSize.m_iWidth / 2), (sScreenSize.m_iHeight / 2),10.0f,RED(CHEAT_RED),GREEN(CHEAT_GREEN),BLUE(CHEAT_BLUE),ALPHA(CHEAT_YELLOW) );
            //draw the animated circle
    	basehook.m_pMatSurface->DrawColoredCircle((sScreenSize.m_iWidth / 2), (sScreenSize.m_iHeight / 2),basehook.m_psCvar->xhair,RED(CHEAT_GREEN),GREEN(CHEAT_GREEN),BLUE(CHEAT_GREEN),ALPHA(CHEAT_GREEN) );
    
    
    	//standart cross
    	basehook.m_pUtil->FillRGBA( (sScreenSize.m_iWidth / 2), (sScreenSize.m_iHeight / 2) - 10, 1,20, CHEAT_GREEN );
    	basehook.m_pUtil->FillRGBA( (sScreenSize.m_iWidth / 2) - 10, (sScreenSize.m_iHeight / 2), 20,1, CHEAT_GREEN );
    }
    }
    a simple method to animate a crosshair.

    it?s a circle wich move bigger and smaller, i think it?s very funny.

    Preview:


    Credits: Helo

    I credit me because i have made it ... and don?t say i have steal the idea etc.
    i don?t know how they have made that in the Chronic Hook.
    I just want that all could use that! and i have named they!

    Idea from: Chronic Hook(belink & Reneg4d3 & LiX)


    Have Fun,
    Helo

  2. #2
    very nice i like it :D

  3. #3
    Seems like a Draw Fov Item.

  4. #4
    damn straight from gd lol
    :p

  5. #5
    my crosshair pwns

    Last edited by Bolo; 8th January 2008 at 04:58.
    :p

  6. #6
    Quote Originally Posted by Bolo View Post
    my crosshair pwns

    That is straight from the vip hack.. lolzor

  7. #7
    Quote Originally Posted by Yournightmare View Post
    That is straight from the vip hack.. lolzor
    which came straight from me.
    :p

  8. #8

  9. #9
    I see me :D

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Log in

Log in