AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   ABOUT speak (https://forums.alliedmods.net/showthread.php?t=134980)

davidto1995 08-10-2010 20:47

ABOUT speak
 
how can i check a player whether he/she is speaking?

drekes 08-10-2010 21:28

Re: ABOUT speak
 
Do you mean speaking like in his microphone or typing a chat msg?

davidto1995 08-11-2010 09:01

Re: ABOUT speak
 
speaking like in his microphone

DruGzOG 08-11-2010 10:10

Re: ABOUT speak
 
Impossible I believe.

platzpatrone 08-11-2010 14:42

Re: ABOUT speak
 
as far as i know can u check if he use the voicecom key.
and u can gag userso they cant speak.

davidto1995 08-11-2010 18:28

Re: ABOUT speak
 
just like what i think...

platzpatrone 08-12-2010 01:20

Re: ABOUT speak
 
u can do something like this:

in plugin_init u can set this

register_clcmd("+voicerecord", "your_function")

and anywhere in your plugin u can do this

your_function()
{
// your code here
}


but if u told us what u are trying to do exactly maybe there are better things to get advice.

something like this:

http://forums.alliedmods.net/showthread.php?t=69006

or to gag someone from speaking:

http://forums.alliedmods.net/showthread.php?t=400

u may have a look into these plugins and figure something out for urself:)

wrecked_ 08-12-2010 01:32

Re: ABOUT speak
 
FM_Voice_SetClientListening is called whenever a player hits his microphone button (only called when other players are in the server and able to hear him).


All times are GMT -4. The time now is 22:00.

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