Sscanf question
#3

I suggest, health and Armour also and weapon to do like:
pawn Код:
case 1:
        {
            new Float:health; GetPlayerHealth(membername,health);
            SetPlayerHealth(membername,health+amount);
        }
        case 2:
        {
            new Float:armour; GetPlayerHealth(membername,armour);
            SetPlayerArmour(membername,armour+ amount);
        }
        case 3:
        {
            new playeridweapon;
            playeridweapon=GetPlayerWeapon(playerid);
            GivePlayerWeapon(membername, playeridweapon, amount);  
        }
Reply


Messages In This Thread
Sscanf question - by Nourdin - 17.02.2014, 15:44
Re: Sscanf question - by Konstantinos - 17.02.2014, 15:58
Re: Sscanf question - by [EnErGyS]KING - 17.02.2014, 16:09

Forum Jump:


Users browsing this thread: 1 Guest(s)