Exemplo n.º 1
0
    def removeObject(self, userid):
        """
        Remove an object from the classes container. This will call the
        deconstructor ont he HealObject instance so there is no need to manually
        clean up the repeat instance.

        @PARAM userid - the id of the user
        """
        if self.__contains__(userid):
            name = self.objects[int(userid)].name
            repeat.stop(name)
            repeat.delete(name)
            del self.objects[int(userid)]
Exemplo n.º 2
0
    def removeObject(self, userid):
        """
        Remove an object from the classes container. This will call the
        deconstructor ont he HealObject instance so there is no need to manually
        clean up the repeat instance.

        @PARAM userid - the id of the user
        """
        if self.__contains__(userid):
            name = self.objects[int(userid)].name
            repeat.stop(name)
            repeat.delete(name)
            del self.objects[int(userid)]
Exemplo n.º 3
0
def loopStop():
    # Loop running ?
    if repeat.status('gungameHandicapLoop'):
        # Stop loop
        repeat.stop('gungameHandicapLoop')
Exemplo n.º 4
0
def unload():
    es.log("[DeToCs] Unload")
    if int(check_repeatR) == 1:
        repeat.stop("CheckCheat")
        repeat.delete("CheckCheat")
Exemplo n.º 5
0
def unload():
	es.log("[DeToCs] Unload")
	if int(check_repeatR) == 1:
		repeat.stop("CheckCheat")
		repeat.delete("CheckCheat")