Raised This Month: $ Target: $400
 0% 

Origins


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Clauu
Senior Member
Join Date: Feb 2008
Location: RO
Old 09-13-2013 , 11:38   Origins
Reply With Quote #1

Hi there, i need to spawn a entity exactly in front of my aiming ~1-2m real life distance between me and entity. The problem is that i don't know how to properly set origins
PHP Code:
pev(userpev_originu_origin1);
get_user_origin(user,u_origin2,2);
u_origin1[0]+=10.0;
u_origin1[1]=u_origin2[1];
u_origin1[2]=u_origin2[2]; 

Last edited by Clauu; 09-13-2013 at 11:39.
Clauu 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 19:09.


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