Raised This Month: $ Target: $400
 0% 

[Solved] Getting Entity Origins


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
TheKidz
Senior Member
Join Date: May 2009
Old 12-04-2010 , 14:00   Re: Getting Entity Origins
Reply With Quote #1

yea, the power of search
thanks exolent !
took from arkshine's help:
PHP Code:
stock fm_get_brush_entity_originindexFloat:origin] ) {
    new 
Float:mins], Float:maxs]
    
pev(indexpev_minsmins)
    
pev(indexpev_maxsmaxs)

    
origin] = ( mins] + maxs] ) * 0.5
    origin
] = ( mins] + maxs] ) * 0.5
    origin
] = ( mins] + maxs] ) * 0.5

    
return 1;


__________________

Last edited by TheKidz; 12-04-2010 at 14:02.
TheKidz is offline
Reply



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 11:27.


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