[CSGO] CBaseGrenade::BounceSound() offset
[CSGO] CBaseGrenade::BounceSound() offset
I know it's a long shot, since they stripped the symbols from the binaries. But does anyone know the offset for this virtual function?
Re: [CSGO] CBaseGrenade::BounceSound() offset
Took a while, but I found it! If anyone needs the offset, add this to your CBaseGrenade.ini:
And here's how you'd block the flashbang bounce sound:
Syntax: Select all
[virtual_function]
[[bounce_sound]]
offset_linux = 240
offset_windows = 239
And here's how you'd block the flashbang bounce sound:
Syntax: Select all
# ../flash_bounce/flash_bounce.py
# Source.Python
from entities.hooks import EntityPreHook, EntityCondition
is_flashbang_projectile = EntityCondition.equals_entity_classname(
'flashbang_projectile')
@EntityPreHook(is_flashbang_projectile, 'bounce_sound')
def bounce_sound_pre(stack_data):
return False
Return to “Plugin Development Support”
Who is online
Users browsing this forum: No registered users and 131 guests