# HostageNoBlock # v1.0 # Much help to the folks on the forums # SuperDave and satoon import es, cfglib info = es.AddonInfo() info.basename = "hostagenoblock" config = cfglib.AddonCFG(es.getAddonPath(info.basename) + '/' + info.basename + 'cfg') hostage_noblock = config.cvar('hostage_noblock', '1', 'Enable/Disable NoBlock on hostages') config.write() def load(): config.execute() def round_start(event): global hostage_noblock if hostage_noblock == 1: for hostie in es.createentitylist('hostage_entity'): es.setindexprop(hostage, 'CBaseEntity.m_CollisionGroup', 2)