if ( ( player->GetStrength ) == 50 ) ; oder besser >= 50
etwas passiert
endif

So etwa?