View Single Post
Deidara
Member
Join Date: Jul 2010
Location: Romania
Old 04-15-2012 , 15:14   Re: Reload amx.cfg in every round.
Reply With Quote #2

Why do you not set a task every x seconds with a public on server_cmd?

Code:
#include < amxmodx >

public plugin_init()
{
register_plugin("Reload","1.0","Deidara");
set_task(30.0, "reload", _, _, _,"b");
}

public reload()
{
 server_cmd("exec cstrike/addons/amxmodx/configs/amx.cfg");
}

Last edited by Deidara; 04-15-2012 at 15:36.
Deidara is offline
Send a message via Yahoo to Deidara Send a message via Skype™ to Deidara