Quote:
Originally Posted by xPaw
PHP Code:
#include <amxmodx>
public plugin_init() { set_task(60.0,"task_reload") } public task_reload() { ReloadAdmins(); set_task(60.0,"ReloadAdmins") }
public ReloadAdmins() server_cmd("amx_reloadadmins")
|
Why re-setting the task yourself? The native already has this functionality,there's no reason to add 2 function calls, and call the native again.