Solved help, structure undefined

Hexui Undetected CSGO Cheats Sinkicheat PUBG Cheat

NTvalk

Hacker
Meme Tier VIP
Jul 6, 2013
499
3,108
8
I get these errors:
Syntax error : missing ; before identifier 'updateclient' (x10) &
clientInfo_s redefinition; symbol cannot be overloaded with a typedef

this is my clientInfo_s:
C++:
typedef float vec_t;
typedef vec_t vec3_t[3];
typedef vec_t vec2_t[2];

typedef struct ClientInfo_t
{
	int health;
	int alive;
	int isValid;
	int clientID;
	int team;
	int pose;
	bool ingame;
	char name[16];
	float viewx;
	float viewy;
	float viewz;
	float posx;
	float posy;
	float posz;
	vec3_t vpos;
	vec3_t vviewangle;
} ClientInfo_s;
and on places like this i get the error:

C++:
class ESP
{
public:

	ClientInfo_s ESP::updateClient();
};
Any ideas?
 

c5

Kim Kong Trasher
Dank Tier VIP
Dank Tier Donator
Jul 19, 2012
1,187
19,938
76
Remove typedef from in front of the struct or declare clientinfo_s below.

And what are you trying to achieve below?
 

NTvalk

Hacker
Meme Tier VIP
Jul 6, 2013
499
3,108
8
Remove typedef from in front of the struct or declare clientinfo_s below.

And what are you trying to achieve below?
I have try'd allready to remove the typedef... still says missing type specifier everytime i use the struct.

EDIT: my project is so fcked up, i think i do something wrong with including headers or something. when i put the struct in ESP.h it doesnt gove me the error but 120 other errors like
Error 22 error LNK2005: "unsigned long friendlyColor" (?friendlyColor@@3KA) already defined in ESP.obj

EDIT 2: fixed it, had the headers and classes messed up.
 
Last edited:
Attention! Before you post:

Read the How to Ask Questions Guide
99% of questions are answered in the Beginner's Guide, do it before asking a question.

No Hack Requests. Post in the correct section.  Search the forum first. Read the rules.

How to make a good post:

  • Fill out the form correctly
  • Tell us the game name & coding language
  • Post everything we need to know to help you
  • Ask specific questions, be descriptive
  • Post errors, line numbers & screenshots
  • Post code snippets using code tags
  • If it's a large project, zip it up and attach it

If you do not comply, your post may be deleted.  We want to help, please make a good post and we will do our best to help you.

Community Mods