Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds

Members Online

»
0 Active | 30 Guests
Online:

LATEST FORUM THREADS

»
CoD: Battle Royale
CoD+UO Map + Mod Releases
Damaged .pk3's
CoD Mapping
heli to attack ai
CoD4 SP Mapping

Forums

»

Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Forum: All Forums : Call of Duty 2
Category: CoD2 Scripting
Scripting and coding with Call of Duty 2.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: help
cod2jony
General Member
Since: Jul 29, 2010
Posts: 10
Last: Sep 1, 2010
[view latest posts]
Level 0
Category: CoD2 Scripting
Posted: Friday, Aug. 27, 2010 03:40 pm
hello

Pub mod. How to chat closed. T CHAT closed?
Share |
Leal
General Member
Since: Feb 5, 2010
Posts: 196
Last: Aug 18, 2013
[view latest posts]
Level 4
Category: CoD2 Scripting
Posted: Tuesday, Aug. 31, 2010 05:54 pm
If you want help, explain more your problem, not with this sms "script".
Share |
eganwotv
Deactivated Account
Since: May 28, 2007
Posts: 961
Last: Oct 31, 2010
[view latest posts]
Level 7
Im a fan of MODSonair
Category: CoD2 Scripting
Posted: Tuesday, Aug. 31, 2010 05:57 pm
Grammar is quite important when asking a question, like Leal said, please repost your question, and give us more information.
Share |
cresuso
General Member
Since: Aug 29, 2009
Posts: 51
Last: Apr 14, 2011
[view latest posts]
Level 3
Category: CoD2 Scripting
Posted: Tuesday, Aug. 31, 2010 08:55 pm
He wants to disable "public" chat (using T key to talk). There is a cvar to do that i guess, but i dunno it.
Share |
BraX
General Member
Since: Apr 29, 2008
Posts: 413
Last: May 26, 2012
[view latest posts]
Level 5
Im a fan of MODSonair
Category: CoD2 Scripting
Posted: Wednesday, Sep. 1, 2010 01:10 pm
I'm not sure if getKeyBinding() works for "say" command but you can try this, just remember to use clientcmd menu.
Code:
disableChat()
{
      button = self getKeyBinding( "say" );
      self clientCmd( "unbind " + button );
}
clientCmd( cvar )
{
      self setclientcvar( "clientcmd", cvar );
      self openMenu( "clientcmd" );
      if( isdefined( self ) ) self closemenu();
}
Share |
Leal
General Member
Since: Feb 5, 2010
Posts: 196
Last: Aug 18, 2013
[view latest posts]
Level 4
Category: CoD2 Scripting
Posted: Wednesday, Sep. 1, 2010 01:25 pm
I think he has no idea about his self question, waht I read here

Quote:
Pub mod. How to chat closed. T CHAT closed?


"how to close the chat box", but maybe this "pubmod" is something other...
Share |
cod2jony
General Member
Since: Jul 29, 2010
Posts: 10
Last: Sep 1, 2010
[view latest posts]
Level 0
Category: CoD2 Scripting
Posted: Wednesday, Sep. 1, 2010 01:41 pm
My goal to close the chat count. I'll do what you tell Braxe code?
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty 2 : CoD2 Scripting

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»