AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Suggestions / Requests (https://forums.alliedmods.net/forumdisplay.php?f=12)
-   -   Restart round every 40 mins (https://forums.alliedmods.net/showthread.php?t=262894)

botz 05-15-2015 00:15

Restart round every 40 mins
 
Can someone make a plugin that restarts round every 40 mins, not map change but restart round thanks!

Shiina.Mashiro 05-15-2015 01:13

Re: Restart round every 40 mins
 
PHP Code:

#include <amxmodx>
#define TASKID 202
public plugin_init()
{
    
set_task(2400.0"restart_round"TASKID__"b")
}
public 
restart_round()
{
    
server_cmd("sv_restart 1")
}
public 
plugin_end()
{
    
remove_task(TASKID)




All times are GMT -4. The time now is 20:12.

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