Jump to content
Autentificarea cu Google și Facebook nu mai este disponibilă. ×

Question

4 answers to this question

Recommended Posts

  • 0
Posted (edited)

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
  • 0
Posted

Bun, deci am o problema la server-ul meu, la fiecare ora fixa nu se primeste payday-ul, ma puteti ajuta? In sensul ca vreau sa-l primesc.

  • 0
Posted

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]);
                        mysql_tquery(SQL,str,"","");
                    }
                    else
                    {
                        ebill = 0;
                    }
                    format(string, sizeof(string), "~y~payday");
                    GameTextForPlayer(i, string, 5000, 1);
                    PlayerInfo[pPayDay] = 0;
                    PlayerInfo[pPayCheck] = 0;
                    if(PlayerInfo[pCarLicT] > 0)
                    {

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • 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.