This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

How to execute a particular command at the beginning of each round ?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
dhirajdj123
New Member
Join Date: Aug 2011
Old 08-03-2011 , 16:39   How to execute a particular command at the beginning of each round ?
Reply With Quote #1

Suppose i add these lines to the server.cfg

// 20 minute timelimit
mp_timelimit 1000
mp_startmoney 16000
mp_freezetime 0
mp_roundtime 1.75
mp_autokick 0

These changes will then work on my dedicated server after i make the server. But these commands work only at the start once and then it is fixed for the server, no changes in these parameters unless they are changed by writing a command or by changing them in the console.

I want a command to be executed at the start of each round.
Say for example, a match is being played on my server, ABC vs XYZ and the score reads 14-7 atm, then i wud have wanted the command to have been executed 21 times.

The command is "log on". I need it to be executed on the server every time a round starts. Kindly tell me how to get this done.

I just installed psychostats on my server and i want my site to be updated instantly and for that i need this command "log on" to be executed after every round, so plzz help.

Thank You,
Dhiraj

Last edited by dhirajdj123; 08-03-2011 at 16:43.
dhirajdj123 is offline
wickedd
Veteran Member
Join Date: Nov 2009
Old 08-03-2011 , 16:44   Re: How to execute a particular command at the beginning of each round ?
Reply With Quote #2

I don't know why you would need to exec "log on" at the start of every round.
However you can put "log on" in your autoexec.cfg.
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.

Last edited by wickedd; 08-03-2011 at 17:54.
wickedd is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 08-03-2011 , 18:07   Re: How to execute a particular command at the beginning of each round ?
Reply With Quote #3

If you put "log on" in your server.cfg it won't get turned off so there is no reason to turn it on again since it is already on.
__________________
fysiks is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 08-04-2011 , 05:35   Re: How to execute a particular command at the beginning of each round ?
Reply With Quote #4

server.cfg is executed at server start.
game.cfg is executed at each map start.
There is nothing you can do at each new round unless you use an addon.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
dhirajdj123
New Member
Join Date: Aug 2011
Old 08-05-2011 , 04:06   Re: How to execute a particular command at the beginning of each round ?
Reply With Quote #5

Thanx a lot for that info
dhirajdj123 is offline
Reply



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 10:51.


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