Raised This Month: $ Target: $400
 0% 

Exec Config After WFP


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
SPYderman
Senior Member
Join Date: Aug 2013
Old 05-07-2014 , 21:36   Exec Config After WFP
Reply With Quote #1

To get straight to the point, I'm looking for a plugin that will execute a specified config after the 'Waiting For Players' is over, or just 30 seconds after the server has rebooted/changed maps. I know about autoexec and server.cfg, but that's not what I need for this. I've tried quite a few plugins, but they seemed to have not work, or just repeatedly execute the config (which I don't want unless the server map changes or something).

Hopefully someone can help with this?

EDIT: Forgot to mention, this is for TF2.

Last edited by SPYderman; 05-07-2014 at 21:37.
SPYderman is offline
arthurdead
Senior Member
Join Date: Jul 2013
Old 05-07-2014 , 22:24   Re: Exec Config After WFP
Reply With Quote #2

PHP Code:
public TF2_OnWaitingForPlayersEnd()
{
      
ServerCommand("exec cfg");

arthurdead is offline
SPYderman
Senior Member
Join Date: Aug 2013
Old 05-07-2014 , 23:07   Re: Exec Config After WFP
Reply With Quote #3

Quote:
Originally Posted by arthurdead View Post
PHP Code:
public TF2_OnWaitingForPlayersEnd()
{
      
ServerCommand("exec cfg");

I've been trying to find this out and you have shown me how it was done in just 4 lines of code. Words can not describe how oblivious I am, kill me.
(thank you)

Last edited by SPYderman; 05-07-2014 at 23:07.
SPYderman 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 08:56.


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