Raised This Month: $51 Target: $400
 12% 

Voices Management v1.0.2 (04/19/08)


Post New Thread Reply   
 
Thread Tools Display Modes
tarsisd2
Veteran Member
Join Date: Feb 2016
Location: brazil
Old 01-31-2017 , 22:25   Re: Voices Management v1.0.2 (04/19/08)
Reply With Quote #151

Quote:
Originally Posted by OciXCrom View Post
Just do what wickedd said.

i already did that, compile ok, but does not work

i want to set up in a way that only teammates can talk being alive or dead, like in cs:go

i used this plugin i while back and it was working great, it seems that someone edit the code

these functions were enabled before by default

PHP Code:
    // register_clcmd("say /vm", "ClCmd_SayStatus");
    // register_clcmd("say_team /vm", "ClCmd_SayStatus"); 
and

PHP Code:
// public ClCmd_SayStatus(id) 
and so on

if i enable them i just get tons of error

tarsisd2 is offline
wickedd
Veteran Member
Join Date: Nov 2009
Old 01-31-2017 , 23:15   Re: Voices Management v1.0.2 (04/19/08)
Reply With Quote #152

Quote:
Originally Posted by ConnorMcLeod View Post
If someone want to test new version (amxx 1.8.3 required !!!)

Here are new cvars and settings :

Settings (flags) :
a : hear dead terrorists
b : hear alive terrorists
c : hear dead cts
d : hear alive cts
e : hear specs

amx_vm_dead_t : which category can be heared by dead terrorists
amx_vm_alive_t : which category can be heared by alive terrorists
amx_vm_dead_ct : which category can be heared by dead counter-terrorists
amx_vm_alive_ct : which category can be heared by alive counter-terrorists
amx_vm_spec : which category can be heared by spectators


Example :
Ts can hear Ts, CTs can hear CTs, Spec can hear everybody (for example for scrims) :
Code:
amx_vm_dead_t "ab"
amx_vm_alive_t "ab"
amx_vm_dead_ct "cd"
amx_vm_alive_ct "dc"
amx_vm_spec "abcde"
Have you tried that? It should do what you want.
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.
wickedd is offline
blood2k
Senior Member
Join Date: Mar 2014
Old 10-16-2017 , 17:04   Re: Voices Management v1.0.2 (04/19/08)
Reply With Quote #153

This doesnt work with Smileys Pug Mod.

I've tried it with sv_alltalk "1" with it being "0" and with it being "" blank.


I have pug/scrim settings where alive T's hear dead T's and and dead T's hear alive T's etc..


and it doesnt function like that at all.. pretty much it's just normal behavior, if alltalk is 1 then everyone hears each other, if all talk is off then alive teamates only hear alive teams and dead teamates hear dead teamates.


Is there anything simpler out there that could be made? To simply make it that if sv_alltalk is 0 , team members hear each other, and that's it?
blood2k is offline
MAJESTIC_SZ
Senior Member
Join Date: Mar 2020
Location: Portugal
Old 04-20-2021 , 18:45   Re: Voices Management v1.0.2 (04/19/08)
Reply With Quote #154

This is not working today.. Neither versions..
MAJESTIC_SZ is offline
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 04-21-2021 , 17:23   Re: Voices Management v1.0.2 (04/19/08)
Reply With Quote #155

Quote:
Originally Posted by MAJESTIC_SZ View Post
This is not working today.. Neither versions..
which amxx version are you using? Have u tried compiling localy? Have u tried checking debug logs?
__________________
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
Hectik17
AlliedModders Donor
Join Date: Oct 2005
Old 05-03-2021 , 09:06   Re: Voices Management v1.0.2 (04/19/08)
Reply With Quote #156

Dead Team members can talk to alive ones using Voice COM, no text only MIC

I think just make sure "sv_alltalk 0" so enemy team cant hear MIC Chatter

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

new amx_deadtalk;

public plugin_init()
{
    register_plugin("Dead Alltalk", "0.1", "Exolent");
    
    register_forward(FM_Voice_SetClientListening, "fwdSetVoice", 0);
    
    amx_deadtalk = register_cvar("amx_deadtalk", "1", 0, 0.0);
    
    return PLUGIN_CONTINUE;
}

public fwdSetVoice(receiver, sender, bool:bListen)
{
    if( !get_pcvar_num(amx_deadtalk)
    || receiver == sender
    || !is_user_connected(receiver) || !is_user_connected(sender) )
    {
        return FMRES_IGNORED;
    }
    
    if( !is_user_alive(receiver) && !is_user_alive(sender)
    && get_user_team(receiver) != get_user_team(sender) )
    {
        engfunc(EngFunc_SetClientListening, receiver, sender, 1);
        
        return FMRES_SUPERCEDE;
    }
    
    return FMRES_IGNORED;
}
Attached Files
File Type: sma Get Plugin or Get Source (deadchat.sma - 91 views - 850 Bytes)
Hectik17 is offline
Reply



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 18:59.


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