onTakeDamage with APaperCharacter problem (C++)

Hello.
I have APaperCharacter derived class ShooterCharacter and I want to implement onTakeDamage event for it. I have used this version of the function first:

 OnTakeAnyDamage.AddDynamic(this, &AShooterCharacter::TakeDamage);//  I tried in constructor and in beginplay

   virtual float TakeDamage(float Damage, struct FDamageEvent const& DamageEvent, AController* 
   EventInstigator, AActor* DamageCauser) override;

I got this error:

[1/3] ShooterCharacter.cpp
2>C:\UNREAL\SpaceBoy\Source\SpaceBoy\ShooterCharacter.cpp(121): error C2664: ‘void TBaseDynamicMulticastDelegate::__Internal_AddDynamic(UserClass ,void (__cdecl AShooterCharacter:: )(AActor *,float,const UDamageType *,AController *,AActor ),FName)’: cannot convert argument 2 from 'float (__cdecl AShooterCharacter:: )(float,const FDamageEvent &,AController *,AActor )’ to 'void (__cdecl AShooterCharacter:: )(AActor *,float,const UDamageType *,AController *,AActor *)’
2> with
2> [
2> UserClass=AShooterCharacter
2> ]
2> C:\UNREAL\SpaceBoy\Source\SpaceBoy\ShooterCharacter.cpp(121): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
2>UnrealBuildTool : error : UBT ERROR: Failed to produce item: C:\UNREAL\SpaceBoy\Binaries\Win64\UE4Editor-SpaceBoy-4664.dll
2> (see …/Programs/UnrealBuildTool/Log.txt for full exception trace)
2>Total build time: 4,50 seconds (Parallel executor: 0,00 seconds)

From the above situation I tried the code in the error discription:

  void TakeDamage(AActor *DamagedActor,float Damage, const UDamageType*  DamageEvent, class AController* 
   EventInstigator, class AActor* DamageCauser)

It says:

   void AShooterCharacter::TakeDamage(AActor *,float,const UDamageType *,AController *,AActor *)': member function does not override any base class virtual member function

For that I changed TakeDamage to TakenDamage to overcome override issue. It compiled without an error but it doesnt work and called in the game.

From what i understand APaperCharacter doesnt implement onTakeDamage and I guess it is the problem maybe. I have tried to solve this many hours now Please can somebody help me on this. (Sorry for Noob question)thx in advance

Never mind ! I have found the solution. Please mark this solved