Rotation checked y , x. Rotation 360 peds

I’m trying to rotate the player 360 in a circle around its axis, but GetEntityRotation, and adding a Y value to it rotates it 360 if it finds it on the X coordinate, if it rotates it on Y. There is a solution?

You did it?

SetEntityHeading - FiveM Natives @ Cfx.re Docs
Maybe this native will help.