Getting ammo, could anyone explain why this won't work?
#1

pawn Код:
new ammo = GetPlayerAmmo(playerid);
    if(ammo == 0)
    {
            ProxDetector(30.0, playerid, "* CLINK *", COLOUR_PURPLE, COLOUR_PURPLE, COLOUR_PURPLE, COLOUR_PURPLE, COLOUR_PURPLE);
            SendClientMessage(playerid, COLOUR_GREY, "You are out of ammo for this weapon. You need to load more into it, before you can use it again.");
    }
Under OnPlayerWeaponShot
Reply
#2

I don't get it, how would a player fire a shot while they're out of ammo?
Reply
#3

Good point!

That makes sense...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)