seroff

hook status 0.1 kanagava

Oct 9th, 2016 (edited)
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. #include <amxmodx>
  2. #include <orpheu>
  3.  
  4. #define PLUGIN "hook status"
  5. #define VERSION "0.1"
  6. #define AUTHOR "kanagava"
  7.  
  8. public plugin_init(){
  9. register_plugin(PLUGIN, VERSION, AUTHOR);
  10. OrpheuRegisterHook(OrpheuGetFunction("Host_Status_f"), "status", OrpheuHookPre);
  11. }
  12.  
  13. public OrpheuHookReturn:status(){
  14. return OrpheuSupercede;
  15. }
Advertisement
Add Comment
Please, Sign In to add comment