View Single Post
Author Message
Leonardo
Veteran Member
Join Date: Feb 2010
Location: 90's
Old 01-06-2014 , 11:19   [NMRiH] Death Notifications v1.2 (14 Oct 2018)
Reply With Quote #1

NoMorePlugins studio presents:

What is it?
A bit more advanced death notifications.
Specific msgs:
* Player died to infection;
* Player died to (common) zombie;
* Player died to infected (zombie) mate;
* Player being killed by teammate.
How to configure?
PHP Code:
// Plugin Version ConVar
//nmp_dn_version
// Enable/disable notifications.
nmp_dn_enabled 1
// Debug messages:
// 0 - disabled,
// 1 - server console only,
// 2 - server console and logs.
nmp_dn_debug 0
// Enable TeamAttack notifications.
nmp_dn_teamattacks 1
// Obey sv_hardcore_survival:
// 0 - print all notifications,
// 1 - print team kills only,
// 2 - don't print anything.
nmp_dn_hardcore 1 
Known issues:
* None.
ToDo list:
* Don't print some msgs in hardcode survival? (done)
* Humiliating message when killed by zombie kid? (done)
* Translations?
Changelogs:
Code:
14.10.2018:
  Version 1.2:
    Added support for "npctype" field of "player_death" event.
02.02.2014:
  Version 1.1.1:
    Fixed spamming with 'team attack' notifications.
  Version 1.1.0:
    Fixed 'infection' death notifications didn't work properly;
    Fixed 'bled out' death notifications didn't work at all;
    Added TeamAttack notifications controlled by nmp_dn_teamattacks console variable;
    Added nmp_dn_hardcore console variable:
      0 - print all notifications,
      1 - print team kills only,
      2 - don't print anything.
15.01.2014:
  Version 1.0.1:
    Fixed VFormat thing.
06.01.2014:
  Version 1.0.0:
    Initial release.
Attached Files
File Type: sp Get Plugin or Get Source (nmp_deaths.sp - 1831 views - 11.7 KB)
__________________

Last edited by Leonardo; 10-23-2018 at 08:26.
Leonardo is offline