Raised This Month: $ Target: $400
 0% 

Distance when ducking! There is a problem.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 06-23-2011 , 08:13   Re: Distance when ducking! There is a problem.
Reply With Quote #2

How did you manage that O.o show the code.

Still, simpliest way to check distance between two entities (players are entities too) is
Code:
if(entity_range(ent1, ent2) <= 100.0)
{
    // ent1 and ent2 are 100.0 units or closer
}
__________________
Hunter-Digital 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 23:32.


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