I didn't know about getplayerangles() vs player.angles, thank you
I struggle to understand all these values, this is the first time I use angles/vectors, and I don't practice math.
Attached is a screenshot showing a /viewpos output and the compass
viewpos compass.png
Do you know if there could be a formula to obtain the compass degree value, using player.origin / getplayerangles() ?