Thread: [Solved] help with vectors
View Single Post
Author Message
Touric
Junior Member
Join Date: Jul 2018
Old 07-14-2018 , 07:52   help with vectors
Reply With Quote #1

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

Last edited by Touric; 07-14-2018 at 09:25.
Touric is offline