AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugin/Gameplay Ideas and Requests (https://forums.alliedmods.net/forumdisplay.php?f=60)
-   -   Exec Config After WFP (https://forums.alliedmods.net/showthread.php?t=240035)

SPYderman 05-07-2014 21:36

Exec Config After WFP
 
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.

arthurdead 05-07-2014 22:24

Re: Exec Config After WFP
 
PHP Code:

public TF2_OnWaitingForPlayersEnd()
{
      
ServerCommand("exec cfg");



SPYderman 05-07-2014 23:07

Re: Exec Config After WFP
 
Quote:

Originally Posted by arthurdead (Post 2135051)
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)


All times are GMT -4. The time now is 04:58.

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