Raised This Month: $ Target: $400
 0% 

Hiding clcmd "say /blah"


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Anarchist
Junior Member
Join Date: Nov 2005
Old 12-14-2005 , 08:34  
Reply With Quote #3

Well, I didnt get what you were saying.. Example please?

Code:
#include <amxmodx>   #include <amxmisc> public plugin_init() {       register_plugin("StnCALMod","1.0","Anarch!st")       register_clcmd("say /pregame", "cmd_pg", ADMIN_KICK,"- Custom Second To None Cal-Open Plugin Command")       register_clcmd("say /prelo3", "cmd_prelive", ADMIN_KICK,"- Custom Second To None Cal-Open Plugin Command")       register_clcmd("say /lo3", "cmd_live", ADMIN_KICK,"- Custom Second To None Cal-Open Plugin Command")       register_clcmd("say /halftime", "cmd_half", ADMIN_KICK,"- Custom Second To None Cal-Open Plugin Command")       register_clcmd("say /stop","cmd_endall", ADMIN_KICK,"- Custom Second To None Cal-Open Plugin Command")   }   public cmd_pg(id,level,cid) {       if (!cmd_access(id ,level, cid , 2)) return PLUGIN_CONTINUE       client_print(0,print_chat,"-[A]narch!st CAL- Config Plugin-")       server_cmd("exec pregame.cfg")     return PLUGIN_CONTINUE }   public cmd_prelive(id,level,cid) {       if (!cmd_access(id ,level, cid , 2)) return PLUGIN_CONTINUE       client_print(0,print_chat,"CAL-Open Config has been Started")       client_print(0,print_chat, "Type ready in chat to start the match!")       client_print(0,print_chat,"Match will not start until both teams confirm they are ready")       return PLUGIN_CONTINUE   }   public cmd_half(id , level , cid) {       if (!cmd_access(id ,level, cid , 2)) return PLUGIN_CONTINUE       client_print(0, print_chat, "Good Half Everyone")       server_cmd("sv_restartround 1")       return PLUGIN_CONTINUE   }   public cmd_endall(id,level,cid) {       if (!cmd_access(id ,level, cid , 2)) return PLUGIN_CONTINUE       client_print(0,print_chat, "This Match Has Been Stopped, Thanks for Playing")       server_cmd("sv_restartround 1")       server_cmd("exec server.cfg")       return PLUGIN_CONTINUE   }   public cmd_live(id,level,cid) {       if (!cmd_access(id ,level, cid , 2)) return PLUGIN_CONTINUE           server_cmd("exec lo3.cfg")       client_print(0,print_chat," Good Luck, Have Fun, and Please Talk in Teamsay, The match is starting!")
__________________
My Plugins:
(Im learning the basics of code)
(Please IM me on AOL in my profile if you can help)
Anarchist is offline
Send a message via AIM to Anarchist
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:07.


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