Merge pull request #126 from Arkshine/feature-find-player-engclient_print

Allow some natives to be used on connecting players (bug 6229).
This commit is contained in:
Vincent Herbet
2014-08-19 18:35:52 +02:00
2 changed files with 10 additions and 6 deletions

View File

@ -1215,6 +1215,7 @@ native get_playersnum(flag=0);
* "f" - match with part of name
* "g" - match case insensitive
* "h" - do not include HLTV proxies
* "i" - include connecting clients
* @param team String to match against if the "e" or "f" flag is specified
*
* @noreturn
@ -1301,8 +1302,10 @@ native get_flags(flags, output[], len);
* "j" - return last matched client instead of the first
* "k" - match with userid
* "l" - match case insensitively
* "m" - include connecting clients
* @param ... String to match against (integer if "k" flag is specified)
*
* @return Client index, or 0 if no client was found
*/
native find_player(const flags[], ...);