[BUG] onObjectShot and Player::PlayerShoot don't register hits on some cases


  • Hero Member
  • F = d(mv)/dx
  • Posts: 949
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.


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


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


  • Hero Member
  • F = d(mv)/dx
  • Posts: 949