View Single Post
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 02-16-2019 , 05:53   Re: Changing volume level of already playing sound (is possible)?
Reply With Quote #4

Ok, I found the way.
Code:
int entity = CreateEntityByName("ambient_generic");
similar, but FindEntity +
Code:
SetVariantInt(10);
AcceptEntityInput(entity, "Volume");
should be enough.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline