Jump to content

source error help


xzasdSADDSADA
 Share

Recommended Posts

I keep getting these errors when using this code (below)

code:

void MainLoop(const CSGOMemory& mem)
{
    HWND hwnd = FindWindow(NULL, "csgo");
    if (hwnd)
    {
        UpdatePlayerList(mem);

        int cacheTimer = 1337;
        while (true)
        {

            if (cacheTimer++ >= 200)
            {
                UpdatePlayerList(mem);
                cacheTimer = 0;
            }

            WallLoop(mem);
            AimLoop(mem);

            Sleep(1);
        }
    }
    else
    {
        MainLoop;
    }
}

 

errors :
(pic)

Capture.PNG

Link to comment
Share on other sites

4 hours ago, xzasdSADDSADA said:

I keep getting these errors when using this code (below)

code:

void MainLoop(const CSGOMemory& mem)
{
    HWND hwnd = FindWindow(NULL, "csgo");
    if (hwnd)
    {
        UpdatePlayerList(mem);

        int cacheTimer = 1337;
        while (true)
        {

            if (cacheTimer++ >= 200)
            {
                UpdatePlayerList(mem);
                cacheTimer = 0;
            }

            WallLoop(mem);
            AimLoop(mem);

            Sleep(1);
        }
    }
    else
    {
        MainLoop;
    }
}

 

errors :
(pic)

Capture.PNG

spacer.png

bro stop pasting something you don't understand and learn c++

https://www.learncpp.com/

 

Edited by ONERIS
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...