Advertisement
Guest User

suicide

a guest
Apr 25th, 2019
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. #pragma semicolon 1
  2.  
  3. #include <sourcemod>
  4.  
  5. #pragma newdecls required
  6.  
  7. public Plugin myinfo =
  8. {
  9. name = "[CSGO] ZR - Suicide Blocker",
  10. author = "91346706501435897134",
  11. description = "ZR - Suicide Blocker",
  12. version = "1.0",
  13. url = "http://sourcemod.net"
  14. }
  15.  
  16. public void OnPluginStart()
  17. {
  18. AddCommandListener(cmd_blocker, "kill");
  19. AddCommandListener(cmd_blocker, "killvector");
  20. AddCommandListener(cmd_blocker, "explode");
  21. AddCommandListener(cmd_blocker, "explodevector");
  22. }
  23.  
  24. public Action cmd_blocker(int client, const char[] command, int argc)
  25. {
  26. PrintToConsole(client, "[ZR] >> '%s' Suicide attempt intercepted.", command);
  27. return Plugin_Handled;
  28. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement