20.09.2012, 19:51
You can use GetPlayerAmmo under OnPlayerUpdate.
Something like this maybe (not sure)
Something like this maybe (not sure)
pawn Код:
public OnPlayerUpdate(playerid)
{
if(GetPlayerAmmo(playerid) == 1)
{
/* What you want to do here */
}
return 1;
}