Raised This Month: $ Target: $400
 0% 

find_ent_in_sphere


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Schwabba
Senior Member
Join Date: Apr 2008
Old 10-19-2010 , 05:33   find_ent_in_sphere
Reply With Quote #1

I wanna remove all ent's 50 units around a player:

PHP Code:
    new origin[3]
    
get_user_origin(idorigin0)
    new 
ent = -1
    
while((ent find_ent_in_sphere(ent,origin,50.0)) != 0) { // warning 213: tag mismatch on this line
        
remove_entity(ent)
    } 
Schwabba 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 10:19.


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