k2tools.misc (version 1.00.000 $Rev: 15 $, $Date: 2013-07-07 14:57:07 +0200 (So, 07 Jul 2013) $)
index
y:\server\csgo\csgo\addons\source-python\_libs\k2tools\misc.py

Path     addons/source-python/_libs/k2tools/misc.py
Name     Miscellaneous Functions and Classes
Version  1.00.000
Revision $Rev: 15 $
Author   (C) [#OMEGA] - K2
 
 
INFO
 
Miscellaneous functions and classes that do not fit into other categories.
Generally all methods here can be subject to change or be moved into specific
python modules.
 
 
AGREEMENT
 
See addons/source-python/_libs/k2tools/license.txt

 
Functions
       
get_maxplayers()
Returns current maxplayers
get_player(string='')
Finds the first IPlayerInfo instance for the specified search string.
 
Resolution order:
- UserID
- SteamID
- Exact Name
- Partial Name
 
@string - Search string
get_team_color(teamid)
Returns the color code for the specified teamid.
 
@teamid - ID of the team

 
Data
        __all__ = ['conmsg', 'get_team_color', 'get_player', 'get_maxplayers']

 
Author
        [#OMEGA] - K2