[Bugzilla] OnPlayerWeaponShot not being called properly with sniper
#1

The title is self-explanatory, OnPlayerWeaponShot is not being called properly with sniper (most part of shoots), here goes the video:

[ame]http://www.youtube.com/watch?v=lViL44EV6Bs[/ame]

Debug code:

Код:
public OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ)
{
	new string[128];
	format(string, 128, "Ammo from %s sucefully updated!", GetWeaponName(weaponid));
	SendClientMessage(playerid, -1, string);
	return 1;
}
Additional info:

- I don't use filterscripts or other files which contains OnPlayerWeaponShot callback.
- Still work fine for deagle and maybe other weapons, only sniper seems bugged.
- Most part of sniper bullets aren't detected.
- Sorry for the random music in video, I listen to Jack Johnson everydays.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)