[[detonate]]
offset_linux = 236
offset_windows = 235
I think these offsets are outdated
This code doesn't work tho, I tried incrementing the offsets by 1 with no luck, since it usually works.
Syntax: Select all
@EntityPreHook(EntityCondition.equals_entity_classname('flashbang_projectile'), 'detonate')
def on_pre_flashbang_detonate(stack_data):
return False