Thread: Helppp

Results 1 to 7 of 7
  1. #1
    eXaLtIc™'s Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    203
    Reputation
    10
    Thanks
    144

    Helppp

    Code:
    void main()
    {
    	// Put all of your bools here for hotkey hacks.
    	// For example:
    	bool chams = false;
    	bool flyhack = false;
    	while(true)
    	{
    		if(GetAsyncKeyState(VK_NUMPAD1)<0){
    			if(chams == true){
    				PushToConsole("SkelModelStencil 0");
    				chams = false;
    			} else {
    				PushToConsole("SkelModelStencil 1");
    				chams = true;
    			}
    	}
    	Sleep(200);
    }
    ================================================== ======
    Error 1 error C2601: 'dwHackThread' : local function definitions are illegal
    Error 2 error C2601: 'DllMain' : local function definitions are illegal
    Error 3 fatal error C1075: end of file found before the left brace '{'

  2. #2
    whit+'s Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    264
    Reputation
    10
    Thanks
    37
    My Mood
    Breezy
    cplusplus.com

  3. #3
    GameTrainerMaker's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    465
    Reputation
    17
    Thanks
    514
    add another ' } ' after hacks

  4. The Following User Says Thank You to GameTrainerMaker For This Useful Post:

    yomo710 (09-02-2010)

  5. #4
    _-Blazin-_'s Avatar
    Join Date
    Jan 2009
    Gender
    male
    Location
    Australia
    Posts
    428
    Reputation
    10
    Thanks
    28
    My Mood
    Hot
    Quote Originally Posted by eXaLtIc™ View Post
    Code:
    void main()
    {
    	// Put all of your bools here for hotkey hacks.
    	// For example:
    	bool chams = false;
    	bool flyhack = false;
    	while(true)
    	{
    		if(GetAsyncKeyState(VK_NUMPAD1)<0){
    			if(chams == true){
    				PushToConsole("SkelModelStencil 0");
    				chams = false;
    			} else {
    				PushToConsole("SkelModelStencil 1");
    				chams = true;
    			}
    	}
    	Sleep(200);
    }
    ================================================== ======
    Error 1 error C2601: 'dwHackThread' : local function definitions are illegal
    Error 2 error C2601: 'DllMain' : local function definitions are illegal
    Error 3 fatal error C1075: end of file found before the left brace '{'
    You might as well post the whole source code so that we can help you since you got this from the other thread and it's just CN's base anyway..

  6. #5
    Stephen's Avatar
    Join Date
    Jun 2009
    Gender
    male
    Location
    Engine.exe
    Posts
    4,689
    Reputation
    184
    Thanks
    1,149
    My Mood
    Aggressive
    Code:
    void main()
    {
    	// Put all of your bools here for hotkey hacks.
    	// For example:
    	bool chams = false;
    	bool flyhack = false;
    	while(true)
    	{
    		if(GetAsyncKeyState(VK_NUMPAD1)<0){
    			if(chams == true){
    				PushToConsole("SkelModelStencil 0");
    				chams = false;
    			} else {
    				PushToConsole("SkelModelStencil 1");
    				chams = true;
    			}
    	}
    	Sleep(200);
         }
    }
    I'm doing this from my iPhone.. So Im guessing its a bracket :O

  7. #6
    NOOBJr's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    in NOOB
    Posts
    1,423
    Reputation
    112
    Thanks
    693
    Well you have a bool for fly hack but you never used the fly hack ptc.

  8. #7
    Void's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Inline.
    Posts
    3,198
    Reputation
    205
    Thanks
    1,445
    My Mood
    Mellow
    You put one extra '}' in the main function.

Similar Threads

  1. HELPPP MEEEEEEEE PLEASE
    By smokedutch in forum Combat Arms Help
    Replies: 22
    Last Post: 09-05-2009, 08:52 AM
  2. HELPPP
    By games0124 in forum Suggestions, Requests & General Help
    Replies: 0
    Last Post: 07-07-2009, 07:43 PM
  3. mmorpg fps helppp
    By TOPDOGG in forum Debate Fort
    Replies: 0
    Last Post: 04-30-2009, 02:57 PM
  4. Need helppp
    By golding441 in forum General
    Replies: 6
    Last Post: 12-29-2008, 08:27 PM
  5. Login problem plzzz helppp
    By Womanizer` in forum WarRock Korea Hacks
    Replies: 0
    Last Post: 08-13-2008, 07:06 AM