³ò
”~ïNc           @   sB  d  Z  d d k Z d d k l Z d d k l Z d d k l Z e ƒ  Z d e _	 d e _
 d e _ d	 d
 i d ƒ d i ƒ  d e _ d d g e _ d d d g e _ d g e _ e i d ƒ Z e i d ƒ Z e e ƒ Z e e ƒ Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d S(   sj   
$Rev: 604 $
$LastChangedBy: satoon101 $
$LastChangedDate: 2011-12-19 19:12:30 -0500 (Mon, 19 Dec 2011) $
iÿÿÿÿN(   t	   RoundInfo(   t	   AddonInfo(   t   playerst   gg_deathmatchs   GG Deathmatchs   GG Dev Teams   5.1.%ss   $Rev: 604 $s   $Rev: i   i    t   gg_dead_stript   gg_dissolvert   gg_eliminationt   gg_teamplayt   gg_teamworkt   mp_freezetimet   mp_roundtimec          C   sS   t  i d ƒ t i d ƒ t i i t ƒ x" t i ƒ  D] }  t |  i	 ƒ  q7 Wd S(   s    Called when DeathMatch is loadedt   0t   9N(
   R	   t   setR
   t   est   addonst   registerClientCommandFiltert   joinclass_filtert   getUseridListR   t	   dm_loaded(   t   userid(    (    sp   /home/saberrider/srcds/css/cstrike/addons/eventscripts/gungame51/scripts/included/gg_deathmatch/gg_deathmatch.pyt   load6   s     c           C   s8   t  i t ƒ t i t ƒ t i i t ƒ t	 i
 ƒ  d S(   s"   Called when DeathMatch is unloadedN(   R	   R   t   mp_freezetime_backupR
   t   mp_roundtime_backupR   R   t   unregisterClientCommandFilterR   R   t   clear(    (    (    sp   /home/saberrider/srcds/css/cstrike/addons/eventscripts/gungame51/scripts/included/gg_deathmatch/gg_deathmatch.pyt   unloadG   s    c         C   s   t  |  i | ƒ S(   s)   Checks to see if the player needs spawned(   R   t   check_join_team(   R   t   args(    (    sp   /home/saberrider/srcds/css/cstrike/addons/eventscripts/gungame51/scripts/included/gg_deathmatch/gg_deathmatch.pyR   X   s    c         C   s   t  i ƒ  d S(   s$   Called each time a new map is loadedN(   R   R   (   t	   event_var(    (    sp   /home/saberrider/srcds/css/cstrike/addons/eventscripts/gungame51/scripts/included/gg_deathmatch/gg_deathmatch.pyt   es_map_startb   s    c         C   s   t  i ƒ  d S(   s"   Called when someone wins the matchN(   R   R   (   R   (    (    sp   /home/saberrider/srcds/css/cstrike/addons/eventscripts/gungame51/scripts/included/gg_deathmatch/gg_deathmatch.pyt   gg_wini   s    c         C   s   t  |  d =d S(   s0   Called when a player disconnects from the serverR   N(   R   (   R   (    (    sp   /home/saberrider/srcds/css/cstrike/addons/eventscripts/gungame51/scripts/included/gg_deathmatch/gg_deathmatch.pyt   player_disconnectp   s    c         C   s$   t  i o t |  d i ƒ  n d S(   s   Called when a player diesR   N(   R    t   activeR   t   start_repeat(   R   (    (    sp   /home/saberrider/srcds/css/cstrike/addons/eventscripts/gungame51/scripts/included/gg_deathmatch/gg_deathmatch.pyt   player_deathw   s    
c         C   s   d S(   s"   Called at the start of every roundN(    (   R   (    (    sp   /home/saberrider/srcds/css/cstrike/addons/eventscripts/gungame51/scripts/included/gg_deathmatch/gg_deathmatch.pyt   round_start   s    c         C   s   d S(   s    Called at the end of every roundN(    (   R   (    (    sp   /home/saberrider/srcds/css/cstrike/addons/eventscripts/gungame51/scripts/included/gg_deathmatch/gg_deathmatch.pyt	   round_end…   s    (    t   __doc__R   t   gungame51.modules.activeR    t   gungame51.core.addons.shortcutsR   t   modules.dictionaryR   t   infot   namet   titlet   authort   splitt   versiont   requirest	   conflictst   translationst	   ServerVarR	   R
   t   intR   R   R   R   R   R   R   R    R#   R$   R%   (    (    (    sp   /home/saberrider/srcds/css/cstrike/addons/eventscripts/gungame51/scripts/included/gg_deathmatch/gg_deathmatch.pys   <module>   s2   				$			
				
	