Page 2 of 2 FirstFirst 12
Results 16 to 18 of 18
  1. #16
    ieatyourlvllol's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Posts
    50
    Reputation
    77
    Thanks
    337
    My Mood
    Aggressive
    Quote Originally Posted by arun823 View Post
    Replace the color argument with an integer, then assign the colors to the different integers. Afterwards just toggle the integer to the desired integer.

    Just realized, Such redundance used in that sentence, such repetition.
    redundancy*
    im not asking how to make a color func its self...........

    You must of misunderstood me...he gots it set up like

    Code:
    class cMenu;
    cMenu* Menu;
    
    class cMenu
    {
    public:
    	cMenu(char* title,bool status)
    	{
    		this->title = title;
    		this->status = status;
    	}
    	char* title;
    	bool status;
    
    	void vDrawText(LPD3DXFONT g_pFont, int x, int y, D3DCOLOR color, const char *text, ...);
    	void AddItems();
    	void Navigate();
    	void DoHacks(LPDIRECT3DDEVICE9 pDevice);
    };
    
    vector<cMenu> MainMenu;
    and

    Code:
    void cMenu::AddItems()
    {
    	if (OneTime)
    	{
    		MainMenu.push_back(cMenu("ShowFPS",false));    //0
    		MainMenu.push_back(cMenu("Crosshair",false));  //1
    		MainMenu.push_back(cMenu("TEST",false));       //2
    		MainMenu.push_back(cMenu("TEST",false));       //3
    		OneTime = false;
    	}
    
    	return;
    }
    what im saying is i dont want to add another class just to make a color func..
    Last edited by ieatyourlvllol; 12-10-2013 at 10:35 PM.





  2. #17
    Acea's Avatar
    Join Date
    Oct 2012
    Gender
    female
    Location
    Home of the elks
    Posts
    346
    Reputation
    80
    Thanks
    2,204
    My Mood
    Stressed
    Quote Originally Posted by ieatyourlvllol View Post


    redundancy*
    im not asking how to make a color func its self...........

    You must of misunderstood me...he gots it set up like

    Code:
    class cMenu;
    cMenu* Menu;
    
    class cMenu
    {
    public:
    	cMenu(char* title,bool status)
    	{
    		this->title = title;
    		this->status = status;
    	}
    	char* title;
    	bool status;
    
    	void vDrawText(LPD3DXFONT g_pFont, int x, int y, D3DCOLOR color, const char *text, ...);
    	void AddItems();
    	void Navigate();
    	void DoHacks(LPDIRECT3DDEVICE9 pDevice);
    };
    
    vector<cMenu> MainMenu;
    and

    Code:
    void cMenu::AddItems()
    {
    	if (OneTime)
    	{
    		MainMenu.push_back(cMenu("ShowFPS",false));    //0
    		MainMenu.push_back(cMenu("Crosshair",false));  //1
    		MainMenu.push_back(cMenu("TEST",false));       //2
    		MainMenu.push_back(cMenu("TEST",false));       //3
    		OneTime = false;
    	}
    
    	return;
    }
    what im saying is i dont want to add another class just to make a color func..
    cause i cant figure out how to add a color changeing func
    What kind of color changing function?

  3. #18
    carlosr526's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    Somewhere
    Posts
    11
    Reputation
    10
    Thanks
    2
    Nice job on unlimited ammo, but I wont use because makes hacks easily detectable.

Page 2 of 2 FirstFirst 12

Similar Threads

  1. honer roll kids fuck you all
    By Gourav2122 in forum Flaming & Rage
    Replies: 10
    Last Post: 12-18-2007, 09:13 PM
  2. I hate you all.
    By Mexiforce in forum General
    Replies: 18
    Last Post: 11-24-2007, 12:42 PM
  3. I love you all!
    By Beer_Hunter in forum General
    Replies: 33
    Last Post: 11-22-2007, 06:24 PM
  4. How You all get hack codes
    By TheBlueMax in forum WarRock - International Hacks
    Replies: 14
    Last Post: 10-02-2007, 09:50 PM
  5. I'm fighting you all on WarRock...
    By smartie in forum General
    Replies: 40
    Last Post: 08-17-2007, 08:33 PM