HLMOD.HU Forrás Megtekintés - www.hlmod.hu
  1. /*
  2. Skrypt pluginu AMXModX stworzony przez deLL-a na potrzeby uzytkownikow www.cscenter.pl
  3.   Kopiowanie ponizszego kodu bez wiedzy autora zabronione!
  4.  
  5.   CopyRight 2009 by deLL. All right reserved.
  6. */
  7.  
  8. #include <amxmodx>
  9. #include <fakemeta>
  10.  
  11. #define PLUGIN "Block Spray"
  12. #define AUTHOR "deLL & xPaw"
  13. #define VERSION "1.0"
  14.  
  15. public plugin_init()
  16. {
  17. register_plugin(PLUGIN, VERSION, AUTHOR)
  18. register_forward(FM_CmdStart, "cmdBlockSpray")
  19. // Add your own code here
  20. }
  21.  
  22. public cmdBlockSpray(id, uc_handle, seed)
  23. {
  24. if(get_uc(uc_handle, UC_Impulse) == 201)
  25. {
  26. set_uc(uc_handle, UC_Impulse, 0)
  27. client_print(id, print_center, "Nemlehet sprayt haszna'lni!!!")
  28. return FMRES_HANDLED
  29. }
  30. return FMRES_IGNORED
  31. }
  32. /* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
  33. *{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1038\\ f0\\ fs16 \n\\ par }
  34. */
  35.