HLMOD.HU Forrás Megtekintés - www.hlmod.hu
  1. #include <amxmodx>
  2. #include <colorchat>
  3. #define PLUGIN "Round data"
  4. #define VERSION "1.0"
  5. #define AUTHOR "ibi"
  6. new hs,kill
  7. public plugin_init() {
  8. register_plugin(PLUGIN, VERSION, AUTHOR)
  9. register_event("DeathMsg","eDeath","a")
  10. register_logevent("log_end",2,"1=Round_End")
  11. }
  12. public eDeath(id){
  13. if(read_data(1)){
  14. hs+=1
  15. kill+=1
  16. }else{
  17. kill+=1
  18. }
  19. }
  20. public log_end(id){
  21. ColorChat(0,RED,"^x01Ebben a korben ^x04%d ^x01ember halt meg,ebbol ^x04%d ^x01fejest kapott!",kill,hs)
  22. kill=0
  23. hs=0
  24. }