Raised This Month: $ Target: $400
 0% 

client's head origin


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Prajch
Senior Member
Join Date: Dec 2007
Location: anger++
Old 09-05-2008 , 20:53   Re: client's head origin
Reply With Quote #6

If you just wanna know how high the model extends above the origin, it's 32 units. If you want their view origin...

PHP Code:
 new Float:userOrigin[3], Float:originOffset[3]
 
 
pev(idpev_originuserOrigin)
 
pev(idpev_view_ofsoriginOffset)
 
 new 
Float:viewOrigin[3]
 
viewOrigin[0] = userOrigin[0] + originOffset[0]
 
viewOrigin[1] = userOrigin[1] + originOffset[1]
 
viewOrigin[2] = userOrigin[2] + originOffset[2
Prajch 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 03:12.


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