Access class variable with GetOverlappingActors()

I fixed it.
For some reason, the int was being transformed into an other character like if it was an ascii code instead of being displayed by AddOnScreenDebugMessage().
So I simply wrote :

 if (team == 1)
    {
    	GEngine->AddOnScreenDebugMessage(-1, 0.0f, FColor::Red, "Equipe n1 ");
    }