I was only debugging my code with mode 0. I originally did mode 3 - mode 1, which returns the view vector. Then in my other program I batch convert them to angles.
Edit. Now I look at it, it does include traceline, which is a bit heavy. Does anyone know if pev_v_angle returns ints or floats?
Edit: Here's the weird part. pev_v_angle only returns x,y view dir, but not z.
Code:
new Float:angle[3];
new text[30];
pev(id, pev_v_angle, angle);
format(text, 30, " %f, %f, %f", angle[0], angle[1], angle[2]);
Edit: NVM. I think it's strictly the view angle, which doesn't have a z. I was thinking of the view vectors.