Raised This Month: $ Target: $400
 0% 

plugin only works for ct team when wanted for both


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 03-15-2009 , 20:11   Re: plugin only works for ct team when wanted for both
Reply With Quote #4

Try

PHP Code:
get_players_distanceorigin players num "aij" id 
Quote:
Originally Posted by AntiBots View Post
get_players_distance is a stock?
It's in the chr_engine include.

Code:
get_players_distance(const Float:origin[3],players[32], &num,flags[]="",index=0,team[]="")
/*
*
*  Returns indexes of players in order according
*  to how close they are to "origin". Indexes are
*  stored in "players[32]" and the number of
*  indexes returned is stored in num. team[] is
*  used only if flag 'e' is passed.
*
*  Flags:
*  "a" - Don't return dead players
*  "b" - Don't return alive players
*  "c" - Skip bots
*  "d" - Skip real players
*  "e" - Match with passed team
*  "h" - Skip HLTV
*  "i" - Is in Viewcone
*  "j" - Is Visible
*
*  If flag 'i' is passed, you must specify into
*  variable "index" who's viewcone to check if
*  the returned players are in.
*
*/
__________________

Last edited by Bugsy; 03-15-2009 at 20:15.
Bugsy 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 09:01.


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