[Ajuda] Cofre Org.
#10

pawn Код:
if(dialogid == SacarCv)
    {
        if(response)
        {
            if(DinheiroNoCofre == 0)
            {
                SendClientMessage(playerid, 0xFFFFFFAA, "O Cofre estб vazio.");
                return true;
            }
            DinheiroNoCofre = -strval(inputtext);
            format(String,200,"{FFFFFF}Status Cofre\n{FFFFFF}Nome: {FF0000}%s\n{FFFFFF}Sacado: {FF0000}$%d", Nome, strval(inputtext));
            ShowPlayerDialog(playerid, DepositouCv, DIALOG_STYLE_MSGBOX, "Organizaзгo: {FF0000}Comando Vermelho", String, "Ok", "");
            GivePlayerMoney(playerid, strval(inputtext));
        }
        return 1;
    }
Estou com um problema, estб dando pra sacar qualquer valor, qual variavel eu uso pra poder sacar somente oque tem depositado?
Reply


Messages In This Thread
[Ajuda] Cofre Org. - by Lipe_Stronda - 21.11.2011, 09:15
Re: [Ajuda] Cofre Org. - by Cristhian - 21.11.2011, 12:24
Re: [Ajuda] Cofre Org. - by Lipe_Stronda - 21.11.2011, 22:40
Re: [Ajuda] Cofre Org. - by Shadoww5 - 22.11.2011, 00:23
Re: [Ajuda] Cofre Org. - by rjjj - 22.11.2011, 00:27
Re: [Ajuda] Cofre Org. - by Pharrel - 22.11.2011, 00:41
Re: [Ajuda] Cofre Org. - by Jason` - 22.11.2011, 04:39
Re: [Ajuda] Cofre Org. - by Lipe_Stronda - 22.11.2011, 10:32
Re: [Ajuda] Cofre Org. - by Cristhian - 22.11.2011, 10:59
Re: [Ajuda] Cofre Org. - by Lipe_Stronda - 22.11.2011, 11:27

Forum Jump:


Users browsing this thread: 2 Guest(s)