Raised This Month: $ Target: $400
 0% 

Search a Voice Mod/Plugin


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 10-19-2021 , 09:07   Re: Search a Voice Mod/Plugin
Reply With Quote #2

If your server is regamedll, set sv_alltalk to 4. If not, set it to 1 and use this plugin

Code:
#include <amxmodx>
#include <fakemeta>

public plugin_init()
{
	register_plugin("All Talk", "1.0", "Crazy")
	register_forward(FM_Voice_SetClientListening, "Voice_SetClientListening")
}

public Voice_SetClientListening(receiver, sender, bool:listen)
{
	if (is_user_alive(receiver) == is_user_alive(sender))
	{
		engfunc(EngFunc_SetClientListening, receiver, sender, true)
		forward_return(FMV_CELL, true)
	}
	else
	{
		engfunc(EngFunc_SetClientListening, receiver, sender, false)
		forward_return(FMV_CELL, false)
	}
	
	return FMRES_SUPERCEDE
}
__________________








CrazY. is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:45.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode