View Single Post
kramesa
Veteran Member
Join Date: Feb 2011
Location: Brazil
Old 04-12-2012 , 20:15   Re: [HELP] Stop plugin timeleft.amxx
Reply With Quote #4

Quote:
Originally Posted by extream87 View Post
Exolent dont work ive get the message error Can't "pause", not connected i dont know

I went to plugins.ini and put ;timeleft.amxx worked but I need a command or script
Untested:

Code:
#include <amxmodx> #include <amxmisc> public plugin_init() {     register_clcmd("say /timeleftenable", "CmdEnable");     register_clcmd("say /timeleftdisable", "CmdDisable"); } public CmdEnable(id) {     if(is_user_admin(id)) {         server_cmd("amxx unpause timeleft.amxx");     } } public CmdDisable(id) {     if(is_user_admin(id)) {         server_cmd("amxx pause timeleft.amxx");     } }
__________________
kramesa is offline