Ammunition of the player's current weapon
#5

I'd rather opt to make it manually, as some weapons don't have a magazine, I mean maximum shots before reload, as the Shotgun Sniper Country Rifle etc. I'd've done something like that:

Код:
ReloadWeapon(playerid, weaponid, ammo)
{
    switch(weaponid)
    { 
        case 24: 
        {
            SetPlayerAmmo(playerid, weaponid, ammo + 7);
            magInfo[playerid][Deagle]--;
        }
    }
}
Reply


Messages In This Thread
Ammunition of the player's current weapon - by Volumen - 17.02.2019, 00:17
Re: Ammunition of the player's current weapon - by d3Pedro - 17.02.2019, 00:31
Re: Ammunition of the player's current weapon - by Volumen - 17.02.2019, 00:48
Re: Ammunition of the player's current weapon - by ComDuck - 17.02.2019, 05:55
Re: Ammunition of the player's current weapon - by TheToretto - 17.02.2019, 09:55

Forum Jump:


Users browsing this thread: 2 Guest(s)