Resource icon

Approved DeathMSG 1.3a

No permission to download

MasterPeace

Retired Staff
Retired Staff
Feb 2, 2015
269
69
28
45
Poland
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

salva

Friendly self-taught developer
Administrator
Jan 31, 2016
577
612
63
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:

DreTaX

Probably knows the answer...
Administrator
Jun 29, 2014
4,093
4,784
113
At your house.
github.com
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.
 

Azymok ☏ ✈

Member
Member
Jun 18, 2016
38
0
6
28
Canada
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