28.07.2013, 08:32
To be honest, when you got 1 ammo, you won't even realise it and just fire it, that can be sure with M4 for example..
Well I can't really search on ****** for a way to disable shooting with a weapon(Slow internet at the moment), but if you do find something, you can do the following:
I hope you get the idea..
EDIT:
I got an idea how to do that, you can do like when he presses KEY_FIRE, and if the ammo is 1, do that carry animation of the weapon.
Well I can't really search on ****** for a way to disable shooting with a weapon(Slow internet at the moment), but if you do find something, you can do the following:
pawn Код:
if(GetPlayerAmmo(playerid) == 1)
{
//something here to stop shooting or something
}
EDIT:
I got an idea how to do that, you can do like when he presses KEY_FIRE, and if the ammo is 1, do that carry animation of the weapon.