One bullet in weapon
#2

You can use GetPlayerAmmo under OnPlayerUpdate.

Something like this maybe (not sure)
pawn Код:
public OnPlayerUpdate(playerid)
{
    if(GetPlayerAmmo(playerid) == 1)
    {  
        /* What you want to do here */
    }
    return 1;
}
Reply


Messages In This Thread
One bullet in weapon - by Smacky - 20.09.2012, 19:48
Re: One bullet in weapon - by Glint - 20.09.2012, 19:51
AW: One bullet in weapon - by Forbidden - 20.09.2012, 19:57
Re: One bullet in weapon - by YourLord - 20.09.2012, 21:48
Re: One bullet in weapon - by RedFusion - 20.09.2012, 22:55
Re: One bullet in weapon - by Smacky - 24.09.2012, 14:45
Re: One bullet in weapon - by vIBIENNYx - 24.09.2012, 15:05

Forum Jump:


Users browsing this thread: 1 Guest(s)