|
Author
|
Message
|
|
Member
Join Date: Dec 2011
Location: China.GuangDong
|

12-20-2013
, 11:22
How to set talk when he dead ?
|
#1
|
I found the sdk , there is fours option:
#define SPEAK_NORMAL 0
this is only talk when there alive , if team player death ,the dead player just listen without talk with team.
#define SPEAK_MUTED 1
this like shutup , he can't listen and talk with anybody.
#define SPEAK_ALL 2
this like sv_alltalk 1, it can say and listen with all player(T and CT)
#define SPEAK_LISTENALL 4
this just listen all player(T and CT)
I want just team talk each other when dead or alive , and the same team.
register_event("DeathMsg","death","a")
register_event("ResetHUD","alive","b")
public death()
{
// ....
}
public alive(id)
{
// ....
}
Is anybody can help me please.
Thanks for your reply !
__________________
One Code , One Dream !
|
|
|
|