Raised This Month: $51 Target: $400
 12% 

Solved help with vectors


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 22:19.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode