Raised This Month: $4 Target: $400
 1% 

Search a Voice Mod/Plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
romeo72
Member
Join Date: Oct 2021
Old 10-12-2021 , 13:16   Search a Voice Mod/Plugin
Reply With Quote #1

Hello, everyone.

I have a question. is there a cs 1.6 mod / plugin so that you can talk to everyone while playing and as soon as you are dead you can only talk to the dead? and the players who are still playing can talk to each other?

thank you ever for your help!

best regards
romeo72 is offline
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 10-19-2021 , 10: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
romeo72
Member
Join Date: Oct 2021
Old 10-22-2021 , 12:42   Re: Search a Voice Mod/Plugin
Reply With Quote #3

hello CrazY.

once again you helped me with my problem !!
Thank you very much and it works perfectly!

best regards
romeo72 is offline
Reply


Thread Tools
Display Modes

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 02:35.


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