Syntax error

Posts 1–2 of 2 · Page 1 of 1
Syntax error
So im getting a syntax error on this and im not really good at coding so could someone help me

CODE:
class CEntity
{
public:
NETVAR(Spotted, "CBaseEntity->m_bSpotted", bool);

};

ERROR:
syntax error: '<' was unexpected here; expected '>'
too little information
The code you have provided has very little information.
What is NETVAR() ?
Show the NETVAR() function prototype or function definition.

Code:
NETVAR(Spotted, "CBaseEntity->m_bSpotted", bool);
Are you sure the data type of the arguments you passed are correct ?

Is
Code:
"CBaseEntity->m_bSpotted"
supposed to be a string ?
Posts 1–2 of 2 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us