How do I convert an Actor's Rotation to it's velocity?

I’m new to c++ and i’m trying to do this in c++:

This is what i have in my player’s cpp file inside of a function:


What am i doing wrong?