Advertisement
Guest User

Untitled

a guest
Mar 27th, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 1.51 KB | None | 0 0
  1. #include <amxmodx>
  2. #include <amxmisc>
  3. #include <cstrike>
  4. #include <hamsandwich>
  5.  
  6.  
  7. #define PLUGIN "Automix_by_Coder"
  8. #define VERSION "1.0"
  9. #define AUTHOR "asd"
  10.  
  11. new gamestatus = 'w'
  12. new allready = 0
  13. public plugin_init()
  14. {
  15.     register_plugin(PLUGIN, VERSION, AUTHOR)
  16.    
  17.     register_clcmd("say !ready", "mready")
  18. //  register_clcmd(say !notready, mnotready)
  19.     register_clcmd("say !help", "help")
  20. //  register_clcmd(say !mode, mode)
  21.     register_clcmd("say !money", "show_money")
  22. //  register_logevent("round_start",2,"1=Round_Start")
  23. //  register_logevent("round_end", 2, "1=Round_End")
  24.     server_print("MIX_BY_Educated_Coder208 is working on this server^nНа сервере работает охуенный плагин от EducatedCoder208")
  25.    
  26. }
  27.  
  28. public mready(id)
  29. {
  30.     new status[33]
  31.     new playername[32]
  32.     get_user_name(id, playername, 31)
  33.     if ((gamestatus == 'w') && (status[id] == 0))
  34.     {
  35.         client_print(0, print_chat,"%s ready", playername)
  36.         status[id] = 1
  37.        
  38.     }
  39.     else
  40.     {
  41.         client_print(id, print_chat,"Вы уже ready")
  42.     }
  43. }
  44.  
  45. public help(id)
  46. {
  47.     set_hudmessage(0, 255, 0, 0.05, 0.35, 0, 6.0, 10.0)
  48.     show_hudmessage(id, "IN DEVELOPING")
  49. }
  50.  
  51. public warmup(id)
  52. {
  53.     server_cmd("w")
  54.     gamestatus = 'w'
  55. }
  56.  
  57. public knife(id)
  58. {
  59.     server_cmd("k")
  60.     gamestatus = 'k'
  61. }
  62.  
  63. public live(id)
  64. {
  65.     server_cmd("l")
  66.     gamestatus = 'l'
  67. }
  68.  
  69. public overtime(id)
  70. {
  71.     server_cmd("o")
  72.     gamestatus = 'o'
  73. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement