Raised This Month: $ Target: $400
 0% 

Check if player is in radius of entity?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
hlstriker
Green Gaben
Join Date: Mar 2006
Location: OH-IO!
Old 05-31-2007 , 16:33   Re: Check if player is in radius of entity?
Reply With Quote #8

When trying to compile I get a tag mismatch on this line...
entity_get_string(ent, EV_SZ_classname, entClass, 31);

Also, should this line be a 0 or -1 at the end...?
while((ent = find_ent_in_sphere(ent, forigin, radius)) != 0)
hlstriker 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 22:24.


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