I'm having issues with this line of code, and I thought some of you guys, maybe can help me out fixing it
Code:
if (g_LocalPlayer->IsTeamMate == ESP_ctx.player->IsTeamMate())
return;
ERRORS:
Error C3867 'C_BasePlayer::IsTeamMate': non-standard syntax; use '&' to create a pointer to member
Error C2446 '==': no conversion from 'int' to 'bool (__thiscall C_BasePlayer::* )(void)'
WARNINGS:
Warning C4805 '==': unsafe mix of type 'bool (__thiscall C_BasePlayer::* )(void)' and type 'bool' in operation
Warning C4804 '>': unsafe use of type 'bool' in operation
Warning C4390 ';': empty controlled statement found; is this the intent?
Warning C4838 conversion from 'int' to 'unsigned char' requires a narrowing conversion
EDIT: i'm trying to add picture, but it doesn't show up.