Raised This Month: $ Target: $400
 0% 

Check if player is in radius of entity?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
hlstriker
Green Gaben
Join Date: Mar 2006
Location: OH-IO!
Old 05-31-2007 , 15:29   Re: Check if player is in radius of entity?
Reply With Quote #1

I'm a bit confused on how to use find_ent_in_sphere(). I really don't even know how to set the function up to work.

I just need to find if any info_* entities are in the radius of a players id. If there are any info items then it can say... "Found info entity".

Code:
new ent; ent = -1 while((ent = find_ent_in_sphere(ent, ?,?))) {     // Now what? }
hlstriker 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 22:24.


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