03.02.2012, 08:48
Quote:
Your idea don't work. But i made
pawn Код:
|
pawn Код:
new PlayerAmmo[MAX_PLAYERS];
public OnPlayerUpdate(playerid)
{
new ammo = GetPlayerAmmo(playerid);
if(ammo < PlayerAmmo[playerid])
{
new BulletsShot = (PlayerAmmo[playerid]-ammo);
}
PlayerAmmo[playerid]=ammo;
return 1;
}