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)]
def loopStop(): # Loop running ? if repeat.status('gungameHandicapLoop'): # Stop loop repeat.stop('gungameHandicapLoop')
def unload(): es.log("[DeToCs] Unload") if int(check_repeatR) == 1: repeat.stop("CheckCheat") repeat.delete("CheckCheat")