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

Members Online

»
0 Active | 50 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: Automatic Bind
csocsi96
General Member
Since: Aug 9, 2010
Posts: 75
Last: Aug 24, 2014
[view latest posts]
Level 3
Im a fan of MODSonair
Category: CoD2 Scripting
Posted: Monday, Dec. 9, 2013 04:04 pm
Hi there,

I would like to know how can I automatically bind a command to a key when a player connects to my server?

I mean when someone connects the server I want the server to execute a command on him. The following:

bind f3 openscriptmenu place_sentry

Regards,
Unrealxqt
Share |
|S!T|
General Member
Since: Nov 8, 2007
Posts: 93
Last: Dec 9, 2013
[view latest posts]
Level 3
Category: CoD2 Scripting
Posted: Monday, Dec. 9, 2013 09:52 pm
Hi,
depends on the command to execute - did you define it as a cvar?
Share |
SparkyMcSparks
General Member
Since: Feb 28, 2004
Posts: 1713
Last: Dec 29, 2016
[view latest posts]
Level 8
Im a fan of MODSonair
Category: CoD2 Scripting
Posted: Tuesday, Dec. 10, 2013 02:12 am
Include in the mod a CFG with the keybinds you want.

Then when they join server have a welcome message or when they select their class, on some menu event you choose you can exec your custom CFG on the user.
Share |
robert119966
General Member
Since: Feb 12, 2012
Posts: 19
Last: Feb 7, 2014
[view latest posts]
Level 1
Category: CoD2 Scripting
Posted: Wednesday, Dec. 11, 2013 10:26 pm
need help ?
xf ; czolk
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

»