Guest User

Untitled

a guest
Mar 17th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. /* Plugin generated by AMXX-Studio */
  2.  
  3. #include <amxmodx>
  4. #include <amxmisc>
  5.  
  6. new Trie:g_hiddenMessages;
  7.  
  8. #define PLUGIN "asd"
  9. #define VERSION "1.0"
  10. #define AUTHOR "JRISETH"
  11.  
  12.  
  13. public plugin_init() {
  14. register_plugin(PLUGIN, VERSION, AUTHOR)
  15.  
  16. register_clcmd("say", "chatCheck");
  17. register_clcmd("say_team", "chatCheck");
  18.  
  19. g_hiddenMessages = TrieCreate();
  20. TrieSetCell(g_hiddenMessages, "suema", 1);
  21. }
  22.  
  23. public chatCheck(id) {
  24. new szSaid[128];
  25. read_args(szSaid, 127);
  26. remove_quotes(szSaid);
  27.  
  28. if(TrieKeyExists(g_hiddenMessages, szSaid)) {
  29. return PLUGIN_HANDLED_MAIN;
  30. }
  31.  
  32. return PLUGIN_CONTINUE;
  33. }
Add Comment
Please, Sign In to add comment