Advertisement
crywolfy

Block Status reHLDS / reAPI

Dec 10th, 2024
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.44 KB | Source Code | 0 0
  1. #include <amxmodx>
  2. #include <reapi>
  3.  
  4. public plugin_init()
  5. {
  6.     RegisterHookChain RH_ExecuteServerStringCmd, ("ExecuteServerString");
  7. }
  8.  
  9. public ExecuteServerString(cmd[], source, id)
  10. {
  11.     server_print("%s", cmd)
  12.     //server_print("command: %s | %d | %d | %n", cmd, source, id, id)
  13.     if (equali(cmd, "status"))
  14.     {
  15.         console_print(id, "Unknown command: %s", cmd)
  16.         return HC_SUPERCEDE
  17.     }
  18.     return HC_CONTINUE
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement