HLMOD.HU Forrás Megtekintés - www.hlmod.hu
  1. #include <amxmodx>
  2. #include <reapi>
  3. #include <colorchat>
  4.  
  5. #define PLUGIN "Round Message"
  6. #define VERSION "1.0"
  7. #define AUTHOR "mforce"
  8.  
  9. new maxplayers;
  10.  
  11. public plugin_init() {
  12. register_plugin(PLUGIN, VERSION, AUTHOR)
  13. RegisterHookChain(RG_CSGameRules_RestartRound, "fw_newround", true);
  14. maxplayers = get_maxplayers();
  15. }
  16.  
  17. public fw_newround() {
  18. new maxrounds = get_member_game(m_iMaxRounds);
  19. new playedrounds = get_member_game(m_iTotalRoundsPlayed);
  20.  
  21. new players = get_playersnum();
  22.  
  23. client_print_color(0, print_team_default, "^4[Információ]^1 Kör: %i/%i || Játékosok: %i/%i", playedrounds, maxrounds, players, maxplayers);
  24. }
  25.