Raised This Month: $ Target: $400
 0% 

find_ent_in_sphere problem


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
SSJ2GOKU
Senior Member
Join Date: Oct 2005
Location: Belgium
Old 11-13-2006 , 03:49   find_ent_in_sphere problem
Reply With Quote #1

hello,

i'm searching a piece of code that returns an array of player indexes in a certain radius around a player

i know find_ent_in_sphere should be capable of doing that, but can anyone give me an example ?

the player "id" is the start entity, so the search should start around him and it would have to return an array of players in a radius of 100


or should i use a traceline around the player's body to find the closest player-entity?

Last edited by SSJ2GOKU; 11-13-2006 at 04:01.
SSJ2GOKU is offline
Send a message via MSN to SSJ2GOKU
 



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 06:57.


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