Small Help
#1

When i send money to a player they do not see that they got it, i see, but i cant see what i am doing wrong.
Can you look at the script and see the prob for me and correct it? Please
Oh btw i am using aBank FS.

pawn Код:
new file2[50], string2[MAX_PLAYER_NAME],N[MAX_PLAYERS],sname[MAX_PLAYER_NAME],player;
        GetPVarString(playerid, "transfer_name", string2, sizeof(string2));
        format(file2, sizeof(file2), BANK_FILE, string2);
        dini_IntSet(file, "Balance", dini_Int(file, "Balance")-strval(inputtext));
        dini_IntSet(file2, "Balance", dini_Int(file2, "Balance")+strval(inputtext));
        format(string, sizeof(string), "Success: You have transfered $%d to %s's account.", strval(inputtext), string2);
        SendClientMessage(playerid, COLOR_GREEN, string);
        {
        GetPlayerName(player, sname, sizeof(sname));
        format(string, sizeof(string), "$%d has been wired to your account by %s.",strval(inputtext),sname);
        }SendClientMessage(player,0xFFD7C4FF,string);
        SetPVarString(playerid, "transfer_name", " ");
        ShowPlayerBankDialog(playerid);
Reply


Messages In This Thread
Small Help - by zack3021 - 27.10.2010, 23:08
Re: Small Help - by zack3021 - 27.10.2010, 23:33
Re: Small Help - by Crayon - 27.10.2010, 23:56
Re: Small Help - by zack3021 - 28.10.2010, 01:18
Re: Small Help - by Scenario - 28.10.2010, 02:32
Re: Small Help - by zack3021 - 28.10.2010, 02:41
Re: Small Help - by Scenario - 28.10.2010, 02:47
Re: Small Help - by Simon - 28.10.2010, 03:00

Forum Jump:


Users browsing this thread: 1 Guest(s)