def effect130(start, end): """ est_effect_30 <player filter> <delay> <start x y z> <end x y z> """ if not isinstance(start, Vector): start = Vector(*start) if not isinstance(end, Vector): end = Vector(*end) te = TempEntity('Show Line') te.start = start te.end = end return te
def effect116(decal, position, start, index, hitbox): """ est_effect_16 <player filter> <delay> <model> <position x y z> <start x y z> <entity index> <hitbox> """ if not isinstance(decal, Decal): decal = Decal(decal) if not isinstance(position, Vector): position = Vector(*position) if not isinstance(start, Vector): start = Vector(*start) te = TempEntity('Entity Decal') te.decal = decal te.origin = position te.start = start te.entity_index = index te.hitbox = hitbox return te