Question about Out of Ammo (Weapons)
#4

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:
pawn Код:
if(GetPlayerAmmo(playerid) == 1)
{
//something here to stop shooting or something
}
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.
Reply


Messages In This Thread
Question about Out of Ammo (Weapons) - by ToiletDuck - 28.07.2013, 08:18
Re: Question about Out of Ammo (Weapons) - by JimmyCh - 28.07.2013, 08:22
Re: Question about Out of Ammo (Weapons) - by ToiletDuck - 28.07.2013, 08:25
Re: Question about Out of Ammo (Weapons) - by JimmyCh - 28.07.2013, 08:32

Forum Jump:


Users browsing this thread: 1 Guest(s)