Jay Paul wrote:

This is a multi-part message in MIME format.
--
[ Picked text/plain from multipart/alternative ]
hey guys i have another good question that i hope you can help me out with. we have a 
multiplayer team based mod in development and one thing that i dont like is that dead 
people in spectator mode can still talk (voice comm and text) to any players that are 
alive in the game. basically i wanna shut them up so they cant be giving away info 
(cheating) to there team. how would i go about doing this? or even where would i 
start. ive looked through the sdk and i cant seem to find anything... even the 
internet doesnt have a tutorial on this subject. once i figure this out im going to 
write one. thanks alot again!


From engine\eiface.h...


qboolean (*pfnVoice_SetClientListening)(int iReceiver, int iSender,
qboolean bListen);

...controls who can listen to who.  Just disable a players from being
able to hear dead people.

In the text chat function, just ignore "say" or "team_say" commands from
 dead people (or just let them talk to other dead people).

--
Jeffrey "botman" Broome


_______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders



Reply via email to