07.02.2015, 18:01
Could someone confirm or dismiss this bug I get.
Strangely it happens only with Mp5, when you shot many times in a row, it gets the same amount of bullets twice.
When you shot like 1 bullet per second its fine.
[ame]http://www.youtube.com/watch?v=kTCvb02nEdE[/ame]
And this is by disabling servers AC, it gets twice the same bullet and then goes lower by 2 bullets.
This is the code I use
Strangely it happens only with Mp5, when you shot many times in a row, it gets the same amount of bullets twice.
When you shot like 1 bullet per second its fine.
[ame]http://www.youtube.com/watch?v=kTCvb02nEdE[/ame]
And this is by disabling servers AC, it gets twice the same bullet and then goes lower by 2 bullets.
This is the code I use
pawn Код:
public OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ)
{
new string[128];
format(string,sizeof(string), "WeaponID: %d Ammo: %d",weaponid,GetPlayerAmmo(playerid));
SendClientMessage(playerid,-1,string);
return 1;
}