| #!/usr/bin/python  | 
| # -*- coding: GBK -*-  | 
|   | 
| ##@package GetPlayerCount  | 
| # »ñÈ¡ÔÚÏßÍæ¼ÒÊýÁ¿  | 
| #  | 
| # @author administrator  | 
| # @date 2010-3-31  | 
| # @version 1.0  | 
| #  | 
| # ÐÞ¸Äʱ¼ä ÐÞ¸ÄÈË ÐÞ¸ÄÄÚÈÝ  | 
| # VER = "2010-05-14 9:30" zhengyang Ìí¼Ó×¢ÊÍ  | 
| #  | 
| # Ä£¿éÏêϸ˵  | 
| import LogUI  | 
| import Lang  | 
| import IPY_GameServer  | 
| import GameWorld  | 
|   | 
| #  | 
| #2008-10-13 ÏÂÎç02:20:21  | 
| ## Ö´ÐÐÂß¼  | 
| #  @param curPlayer µ±Ç°Íæ¼Ò  | 
| #  @param playerList [money]  | 
| #  @return None  | 
| #  @remarks º¯ÊýÏêϸ˵Ã÷.  | 
| def OnExec(curPlayer,playerList):  | 
|       | 
|     playerCnt = GameWorld.GetPlayerManager().GetActivePlayerCount()  | 
|           | 
|     GameWorld.DebugAnswer(curPlayer, '->µ±Ç°ÔÚÏß : %s ÈË'%playerCnt)  | 
|     return |