Help with dialog input
#7

Код:
if (dialogid == DIALOG_PIN)
        {
            new PIN ;
            PIN = strval(inputtext);
            if(PIN == PlayerInfo[playerid][pPIN])
            {
                PinOk[playerid] = 1;
                new cashdeposit;
                if(PinOk[playerid] == 1)
                {
                    ConsumingMoney[playerid] = 1;
                    GivePlayerCash(playerid,cashdeposit);
                    PlayerInfo[playerid][pAccount]=PlayerInfo[playerid][pAccount]-cashdeposit;
                    format(string, sizeof(string), "  You Have Withdrawn $%d from your account Total: $%d ", cashdeposit,PlayerInfo[playerid][pAccount]);
                    SendClientMessage(playerid, COLOR_YELLOW, string);
                    return 1;
                }
            }
            else
            {
                SendClientMessage(playerid, 0xFF0000FF, "PIN Incorect, mai incearca !");
            }

        
        }
Reply


Messages In This Thread
Help with dialog input [+rep] - by Smyle - 12.03.2012, 10:16
Re: Help with dialog input - by Smyle - 12.03.2012, 10:57
Re: Help with dialog input - by Bogdan1992 - 12.03.2012, 11:01
Re: Help with dialog input - by Smyle - 12.03.2012, 11:29
Re: Help with dialog input - by Bogdan1992 - 12.03.2012, 15:39
Re: Help with dialog input - by Smyle - 12.03.2012, 15:43
Re: Help with dialog input - by Bogdan1992 - 12.03.2012, 15:47

Forum Jump:


Users browsing this thread: 2 Guest(s)