Thread: No chat plugin
View Single Post
dj_freeze
Veteran Member
Join Date: Dec 2009
Location: Looking for you!
Old 12-16-2010 , 14:33   Re: No chat plugin
Reply With Quote #3

Quote:
Originally Posted by hleV View Post
Code:
#include <amxmodx> //#include <amxmisc> #include <csx>   public plugin_init() {         register_clcmd("say", "Say");         register_clcmd("say_team", "Say"); }   public Say(id) {         if (get_user_flags(id)) // is_user_admin(id)                 return PLUGIN_CONTINUE;           new stats[8];           return get_user_stats(id, stats, stats) <= 2 ? PLUGIN_CONTINUE : PLUGIN_HANDLED; }
Sorry man.. Tested on my server but it doesn't work.. Players still can write in chat.
dj_freeze is offline
Send a message via Skype™ to dj_freeze