hello guys, i need help with a script:
i'm trying to get the x and y of a point which is located 500 units from where i am and oriented with my eye angles:
Code:
float clpos[3], eyeangles[3];
GetClientAbsOrigin(client, clpos);
GetClientEyeAngles(client, eyeangles);
eyeangles[2] = 0.0;
//now i want to get the position 500 units further from where i am with the angles of my eyes