How can i increase the payday on My Server?? Included Payday Code
#1

Help Thanks http://pastebin.com/DSeDsRWj

Tell me to include anything else if needed
Reply
#2

Why use an edited script
Reply
#3

No i dont use that i have an script of mine but i was trying it my friend send me it and he said to find how to edit payday
Reply
#4

Wow, you made a gamemode by yourself, but are unable to solve the most basic scripting problems?
At the very top theres a variable called paycheck? Did you consider that this might be value you wanna change?
Reply
#5

pawn Код:
// change code
                    new paycheck = checks - Taxable - faretax;
                    paycheck += 5000; // Add amount here, I set it to $5,000 extra from what they already have.
                    if(PlayerInfo[i][pMember] != 0 && PlayerInfo[i][pMember] != 8 && PlayerInfo[i][pMember] != 13 && Tax >= 0)
                    {
                        new facmemberpay = FactionPay[PlayerInfo[i][pMember]-1][PlayerInfo[i][pRank]];
                        GivePlayerCash(i, facmemberpay);
                    }
                    GivePlayerCash(i, paycheck);

                    GameTextForPlayer(i, "~y~PayDay~n~~w~Paycheck", 5000, 1);
                    SendAudioToPlayer(i, 1184, 100, 0);
                    PlayerInfo[i][pPayDay] = 0;
                    PlayerInfo[i][pPayCheck] = 0;
                    PlayerInfo[i][pConnectTime] += 1;
                    if(PlayerInfo[i][pConnectTime] == 2) SendClientMessageEx(i, COLOR_LIGHTRED, "You may now possess/use weapons!");
                    if(PlayerInfo[i][pDonateRank] > 0)
                    {
                        PlayerInfo[i][pPayDayHad] += 1;
                        if(PlayerInfo[i][pPayDayHad] >= 5)
                        {
                            PlayerInfo[i][pExp]++;
                            PlayerInfo[i][pPayDayHad] = 0;
                        }
                    }
                    if(PlayerInfo[i][pWRestricted] > 0)
                    {
                        PlayerInfo[i][pWRestricted]--;
                        if(PlayerInfo[i][pWRestricted] == 0) SendClientMessageEx(i, COLOR_LIGHTRED, "Your weapons are no longer restricted!");
                    }

                }
                else
                {
                    SendClientMessageEx(i, COLOR_LIGHTRED, "* You haven't played long enough to obtain a paycheck.");
                }
            }
    }
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)