View Single Post
jonnzus
Epic Member
Join Date: Oct 2010
Location: Finland
Old 04-15-2012 , 15:19   Re: Reload amx.cfg in every round.
Reply With Quote #3

Quote:
Originally Posted by Deidara View Post
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 cstrikeaddonsamxmodxconfigsamx.cfg");
}
Thanks that OK too, to I have to put \ marks to cstike-addons-etc?
__________________
Quote:
367. Everyone's copyright will be broken. No exceptions.
jonnzus is offline