Raised This Month: $ Target: $400
 0% 

entity vector


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
VEN
Veteran Member
Join Date: Jan 2005
Old 10-05-2006 , 00:10   Re: entity vector
Reply With Quote #8

The whole task can be done quite simple, take a look

Code:
new Float:v1[3], Float:v2[3] pev(id, pev_origin, v1) // origin of the 1st player pev(id2, pev_origin, v2) // origin of the 2nd player xs_vec_sub(v2, v1, v1) // vector 1st->2nd engfunc(EngFunc_VecToAngles, v1, v1) // convert origin to angle
VEN 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 04:47.


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