armor storing on gui
#4

pawn Код:
if(dialogid == 15)
{
    if(response)
    {
        new plyName[MAX_PLAYER_NAME];
        new bouse = PlayerInfo[playerid][pHouseKey];

        GetPlayerName(playerid, plyName, MAX_PLAYER_NAME);
        new Float:plyArmour;
        GetPlayerArmour(playerid, plyArmour);
        new amount = strval(inputtext);

        SetPlayerArmour(playerid, plyArmour-amount);
        Houses[bouse][Armour] += amount;
        new string[126];
        format(string, sizeof(string), "stored %d", amount);
        SendClientMessage(playerid, 0xAFAFAFAA, string);
    }
    return 1;
}
Reply


Messages In This Thread
armor storing on gui - by jaksimaksi - 07.08.2011, 11:58
Re: armor storing on gui - by emokidx - 07.08.2011, 12:54
AW: armor storing on gui - by jaksimaksi - 07.08.2011, 13:04
Re: armor storing on gui - by MadeMan - 07.08.2011, 19:40

Forum Jump:


Users browsing this thread: 2 Guest(s)