Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* Plugin generated by AMXX-Studio */
- #include <amxmodx>
- #include <amxmisc>
- new Trie:g_hiddenMessages;
- #define PLUGIN "asd"
- #define VERSION "1.0"
- #define AUTHOR "JRISETH"
- public plugin_init() {
- register_plugin(PLUGIN, VERSION, AUTHOR)
- register_clcmd("say", "chatCheck");
- register_clcmd("say_team", "chatCheck");
- g_hiddenMessages = TrieCreate();
- TrieSetCell(g_hiddenMessages, "suema", 1);
- }
- public chatCheck(id) {
- new szSaid[128];
- read_args(szSaid, 127);
- remove_quotes(szSaid);
- if(TrieKeyExists(g_hiddenMessages, szSaid)) {
- return PLUGIN_HANDLED_MAIN;
- }
- return PLUGIN_CONTINUE;
- }
Add Comment
Please, Sign In to add comment