daren adler wrote:OK,,where do i add it,, i looked for that to add and dont kno ?, please help
You need to go to /addons/source-python/packages/source-python/effects/hooks.py
and replace lines 90-98 with
Syntax: Select all
# =============================================================================
# >> HOOKS
# =============================================================================
@PreHook(get_virtual_function(engine_server, 'PlaybackTempEntity'))
def pre_playback_temp_entity(stack_data):
"""Handle pre hooks."""
temp_entity = TempEntity(stack_data[3])
try:
recipients = make_object(RecipientFilter, stack_data[1])
except RuntimeError:
recipients = RecipientFilter()
(stack_data[1] + 4).copy(
get_object_pointer(recipients) + 4,
get_size(RecipientFilter) - 4
)
recipients.update(*tuple(recipients), clear=True)
return temp_entity.template.handle_hook(temp_entity, recipients)