Help😠 Help

Posts 1–2 of 2 Β· Page 1 of 1
😠 Help
i just dont know. this errors just frekin me out.

Errors:

1>Cheat\Aimbot\Aimbot.cpp(22): error C3329: syntax error: expected '}' not ')'
1>Cheat\Aimbot\Aimbot.cpp(24): error C2146: syntax error: missing ')' before identifier 'm_pLocal'
1>Cheat\Aimbot\Aimbot.cpp(24): error C2143: syntax error: missing ')' before ';'
1>Cheat\Aimbot\Aimbot.cpp(26): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>Cheat\Aimbot\Aimbot.cpp(28): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>Cheat\Aimbot\Aimbot.cpp(29): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>Cheat\Aimbot\Aimbot.cpp(31): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>Cheat\Aimbot\Aimbot.cpp(32): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>Cheat\Aimbot\Aimbot.cpp(33): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>Cheat\Aimbot\Aimbot.cpp(34): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>Cheat\Aimbot\Aimbot.cpp(35): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>Cheat\Aimbot\Aimbot.cpp(36): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>Cheat\Aimbot\Aimbot.cpp(38): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>Cheat\Aimbot\Aimbot.cpp(38): error C2440: 'initializing': cannot convert from 'CTimer *' to 'int'
1>Cheat\Aimbot\Aimbot.cpp(38): note: There is no context in which this conversion is possible
1>Cheat\Aimbot\Aimbot.cpp(40): error C3927: '->': trailing return type is not allowed after a non-function declarator
1>Cheat\Aimbot\Aimbot.cpp(40): error C3484: syntax error: expected '->' before the return type
1>Cheat\Aimbot\Aimbot.cpp(40): error C3613: missing return type after '->' ('int' assumed)
1>Cheat\Aimbot\Aimbot.cpp(40): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>Cheat\Aimbot\Aimbot.cpp(40): error C2146: syntax error: missing ';' before identifier 'Zero'
1>Cheat\Aimbot\Aimbot.cpp(41): error C2059: syntax error: '}'
1>Cheat\Aimbot\Aimbot.cpp(41): error C2143: syntax error: missing ';' before '}'
1>Cheat\Aimbot\Aimbot.cpp(43): error C2143: syntax error: missing ';' before '{'
1>Cheat\Aimbot\Aimbot.cpp(43): error C2447: '{': missing function header (old-style formal list?)


Code:
CAimbot::CAimbot({)

	m_pLocal = nullptr;

	m_iBestPreTarget = -1;

	m_iBestTarget = -1;
	m_iBestHitbox = -1;

	m_bClamp = false;
	m_bAttack = false;
	m_bAimShot = false;
	m_bTargetFov = false;
	m_bTargetChange = false;
	m_bAutoPistolEn = false;

	m_pShotDelay = new CTimer();

	m_vAimBestHitboxScreen.Zero();
}
you have a curly brace inside the parentheses for starters.
replace
Code:
CAimbot::CAimbot({)
with
Code:
CAimbot::CAimbot(){
Now then, learn how to use C++ and not to rely on copy & pasting.
Posts 1–2 of 2 Β· Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us