Resource icon

Approved DeathMSG 1.3a

No permission to download
One player requested Head shots counter. Not autoban or something, but just show number or percentage of headshots.

Code:
MasterPeace was killed by DreTaX with M4. (Distance: 112.4m, Acc: 25%)

1 head shot, 3 shots in chest. Acc = Accuraccy but not in full body only headshot to body.

Code:
MasterPeace was killed by DreTax with M4. (Distance: 110m, Acc: 84%) - that would probably mean that DreTax is cheater.

Just additional info for admins. I don't know how you would do that, but would be cool.
 
  • Like
Reactions: Snake
I just updated to version 3.5.9 DeathMSG and sometimes this happens:


[IronPython] Error in plugin DeathMSG:
Traceback (most recent call last):
File "<string>", line 77, in On_PlayerKilled
AttributeError: 'DeathEvent' object has no attribute 'AttackerIsNPC'
[IronPython] Error in plugin DeathMSG:
Traceback (most recent call last):
File "<string>", line 84, in On_PlayerKilled
AttributeError: 'DeathEvent' object has no attribute 'AttackerIsNPC'

Any Idea??? thanks!! :)
 
Last edited:
I just updated to version 1.3.9 DeathMSG and sometimes this happens:


[IronPython] Error in plugin DeathMSG:
Traceback (most recent call last):
File "<string>", line 77, in On_PlayerKilled
AttributeError: 'DeathEvent' object has no attribute 'AttackerIsNPC'
[IronPython] Error in plugin DeathMSG:
Traceback (most recent call last):
File "<string>", line 84, in On_PlayerKilled
AttributeError: 'DeathEvent' object has no attribute 'AttackerIsNPC'

Any Idea??? thanks!! :)
Update fougerite.
 
How can I in C# to send the victim a message?

C#:
public void ArizonaLevelKilled(DeathEvent de) {
    if (Action) {
        de.Victim.Message("Action");
    }
}
Сannot find