[BUG] onObjectShot and Player::PlayerShoot don't register hits on some cases
[Bug] CTRL + V »

Athanatos

  • Hero Member
  • Just stopped playing VC:MP.
  • Posts: 761
Description
The function Player::PlayerShoot isn't called when a hunter machine gun is used, same with shotguns, grenades, and molotovs...
And the function onObjectShot  isn't called when a Hunter guns are used too.

Reproducible
Always

What you were doing when the bug happened
Working on my Zombie survival server... Tried to reward players with a Hunter on a specific number of kills, but hits don't get detected.

I used this code to see if it is called:
Code: [Select]
function Player::PlayerShoot( player, weapon, hitEntity, hitPosition )
{
Console.Print("Player :"+player.Name+" "+weapon+" ");
}

What you think caused the bug
I don't know tbh

DarkRaZoR^

  • Full Member
  • VC:MP Battlefield Head Developer/KF Leader
  • Posts: 205

Athanatos

  • Hero Member
  • Just stopped playing VC:MP.
  • Posts: 761

[Bug] CTRL + V »