How to repossess third person character

please show the code where you set the pmayer Ref variable and the code where you repossess the character pawn