UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "Weapon")
TSubclassOf<UCameraShake> FireCameraShake;
APawn* MyOwner= Cast<APawn>(GetOwner());
if (MyOwner)
{
APlayerController* PC= Cast<APlayerController>(MyOwner->GetController());
if (PC)
{
PC->ClientPlayCameraShake(FireCameraShake);
}
}