Advertisement
Guest User

Untitled

a guest
Apr 29th, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.67 KB | None | 0 0
  1. #define USER_MOODAK(%0)  Handle hPlugins = GetPluginIterator() \
  2.                          Handle hPlugin = null; \
  3.                          char szPluginName[128];
  4.                          while ((hPlugin = ReadPlugin(hPlugins)) { \
  5.                              if (!GetPluginInfo(hPlugin, PlInfo_Name, szPluginName, sizeof(szPluginName)) \
  6.                                  continue; \
  7.                              if (StrContains(szPluginName, %0, false) > -1) { \
  8.                                  SetFailState("USER MOODAK!"); \
  9.                              } \
  10.                          }
  11.  
  12. // USAGE
  13. USER_MOODAK("SourceBans");
  14. USER_MOODAK("SourceComms");
  15. USER_MOODAK("LK");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement