Hosting and domain costs until October 2024 have been generously sponsored by dumptruck_ds. Thank you!
vectoyaw
From Quake Wiki
Syntax:
float vectoyaw(vector vec)
Converts a directional vector into a yaw angle (only the _y component of an angles set)
Parameters:
vec
- The vector to convert
Returns:
- The yaw angle equivalent of the vector