Jump to content
  • 0

Problema PayDay



4 answers to this question

Recommended Posts

  • 0

Salut! Stie cineva cum rezolv problema la payday la gamemode bigzone?

1.Ai 10-12 ani daca nu mai putin dupa cum ai facut acest Topic.

2. Ce sa intelegem noi din "Salut! Stie cineva cum rezolv problema la payday la gamemode bigzone?" . 

3. Daca vrei sa te ajutam fi mai detaliat.

Edited by Rochester
Link to comment
Share on other sites

  • 0

Acesta este payday-ul meu din gamemode:

                        tmpintrate = 1;
                    account = PlayerInfo[pAccount];
                    Tax += TaxValue;
                    PlayerInfo[pAccount] -= TaxValue;
                    new checks = PlayerInfo[pPayCheck],
                        ebill = (PlayerInfo[pLevel]*SBizzInfo[14][sbEntranceCost]/100);
                    PlayerInfo[pAccount] += checks;
                    interest = (PlayerInfo[pAccount]/1000)*(tmpintrate);
                    PlayerInfo[pExp] += 1;
                    PlayerInfo[pAccount] += interest;
                    SendClientMessage(i, COLOR_TEAL, "----------------------------------------------------------------------------");
                    SendClientMessage(i, COLOR_WHITE, "Your paycheck has arrived; please visit the bank to withdraw your money.");
                    format(string, sizeof(string), "Paycheck: $%s | Bank balance: $%s | Bank interest: $%s | Tax: $%s (10 percent)", FormatNumber(checks), FormatNumber(PlayerInfo[pAccount]), FormatNumber(interest), FormatNumber(TaxValue));
                    SendClientMessage(i, COLOR_GREY, string);
                    format(string3, sizeof(string3), "Rent: $%s | Total earnings: $%d", FormatNumber(rent), checks-TaxValue);
                    SendClientMessage(i, COLOR_GREY, string3);
                    SendClientMessage(i, COLOR_TEAL, "----------------------------------------------------------------------------");
                    if(PlayerInfo[pAccount] >= ebill && key != 999 && strcmp(playername2, HouseInfo[key][hOwner], true) == 0)
                        PlayerInfo[pAccount] -= ebill;
                        SBizzInfo[14][sbTill] += ebill;
                        mysql_format(SQL,str,sizeof(str),"UPDATE `sbizz` SET `Till`='%d' WHERE `ID`='14'",SBizzInfo[14][sbTill]);
                        ebill = 0;
                    format(string, sizeof(string), "~y~payday");
                    GameTextForPlayer(i, string, 5000, 1);
                    PlayerInfo[pPayDay] = 0;
                    PlayerInfo[pPayCheck] = 0;
                    if(PlayerInfo[pCarLicT] > 0)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.