Thread: [ANY] VoiceHook
View Single Post
cravenge
Veteran Member
Join Date: Nov 2015
Location: Chocolate Factory
Old 11-18-2019 , 01:41   Re: [L4D/L4D2/CS:GO] VoiceHook
Reply With Quote #23

Quote:
Originally Posted by foxhound27 View Post
[...]
I see the cause of the problem where players can't move while they speak and it lies in this part of the code:
Code:
public MRESReturn:Hook_ProcessVoiceData(Address:this_adr, Handle:hParams)
{
	[...]
    
    ----- This here triggers the bug -----
    
	if (!returnBool)
	{
		return MRES_Supercede;
	}
    
    ----- since the function gets skipped-----
	
	[...]
}

Last edited by cravenge; 11-18-2019 at 21:10.
cravenge is offline