Impossible weapon drive by showing in chat

Well I think it is how the game detects the way a player is killed, you were in a vehicle when the player accepted his death the damage was dealt by a sniper rifle but at the very moment the knocked down player died you were in a vehicle so the game detected the kill as a Sniper Rifle drive-by. 
fix it so it doesn't?
Arceus. wrote:
fix it so it doesn't?

I am fully not sure but this might be a samp bug rather than a mcnr bug I am afraid but I think there is no solution to it Mike Can you give your opinions about this bug?
Hi Arceus.(Patchy) Thanks for bringing this issue to our attention. I have logged the issue and will inform you of an update when it's available. You can find the information relating to the logged issue below.


Bug report by Arceus.(Patchy)(forum topic #14816)
Issue #3160
IssueWrong death message
DescriptionAfter the player gives up while the killer is in the vehicle and killed the player on foot it will consider the kill as drive by kill no matter what.
Script areaDeath messages
PriorityLow
Logged byGoldenboy
Assigned toMike


Thanks for reporting Moved to the Confirmed bugs
Fixed next update.
Impudent wrote:
Well I think it is how the game detects the way a player is killed, you were in a vehicle when the player accepted his death the damage was dealt by a sniper rifle but at the very moment the knocked down player died you were in a vehicle so the game detected the kill as a Sniper Rifle drive-by. 
Impudent wrote:
I am fully not sure but this might be a samp bug rather than a mcnr bug I am afraid but I think there is no solution to it Mike Can you give your opinions about this bug?



It's not actually the game killing the player. In fact, they don't die at all. Players only truly die from drowning, explosions, and fall damage I think. For anything else, their health remains at 1hp and a death animation is applied, then they are respawned. Although I do call the 'OnPlayerDeath' event, but it didn't actually happen. I remember the last player/weapon they took damage from. I had a basic check that said if the attacker is in a vehicle, put 'drive-by', but it was an oversight on my part that they might die after-the-fact like this.

Anyway, it's fixed next update.