Raised This Month: $ Target: $400
 0% 

How to set talk when he dead ?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
wangningyu
Member
Join Date: Dec 2011
Location: China.GuangDong
Old 12-20-2013 , 11:22   How to set talk when he dead ?
Reply With Quote #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 !
wangningyu is offline
 



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 20:30.


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