Example #1
0
def round_end(event_var):
    '''Called at the end of every round'''

    # Clear the respawn list
    respawn_players.clear()

    # Clear the player dictionary
    players.clear()
Example #2
0
def unload():
    '''Called when DeathMatch is unloaded'''

    # Reset freezetime and roundtime
    VariableBackups['mp_freezetime'].remove(info.name)
    VariableBackups['mp_roundtime'].remove(info.name)

    # Unregister the joinclass filter
    es.addons.unregisterClientCommandFilter(joinclass_filter)

    # Clear the players dictionary
    players.clear()
Example #3
0
def es_map_start(event_var):
    '''Called each time a new map is loaded'''

    # Clear the players dictionary
    players.clear()
Example #4
0
def gg_win(event_var):
    '''Called when someone wins the match'''

    # Clear the players dictionary
    players.clear()
Example #5
0
def es_map_start(event_var):
    '''Called every map start'''

    # Clear the player dictionary
    players.clear()