SA-MP Forums

Go Back   SA-MP Forums > SA-MP Server > Server Support

Reply
 
Thread Tools Display Modes
Old 11/08/2013, 05:29 PM   #1
Samieastwood
Huge Clucker
 
Samieastwood's Avatar
 
Join Date: Jul 2013
Posts: 215
Reputation: 4
Default How can i increase the payday on My Server?? Included Payday Code

Help Thanks http://pastebin.com/DSeDsRWj

Tell me to include anything else if needed
Samieastwood is offline   Reply With Quote
Old 11/08/2013, 05:31 PM   #2
Mitchy
Banned
 
Join Date: Feb 2013
Posts: 155
Reputation: -15
Default Re: How can i increase the payday on My Server?? Included Payday Code

Why use an edited script
Mitchy is offline   Reply With Quote
Old 11/08/2013, 05:33 PM   #3
Samieastwood
Huge Clucker
 
Samieastwood's Avatar
 
Join Date: Jul 2013
Posts: 215
Reputation: 4
Default Re: How can i increase the payday on My Server?? Included Payday Code

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
Samieastwood is offline   Reply With Quote
Old 12/08/2013, 01:33 AM   #4
Mauzen
Banned
 
Join Date: Jun 2007
Location: Western Germany
Posts: 5,100
Reputation: 1597
Default Re: How can i increase the payday on My Server?? Included Payday Code

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?
Mauzen is offline   Reply With Quote
Old 12/08/2013, 06:41 AM   #5
Dubya
Huge Clucker
 
Dubya's Avatar
 
Join Date: Jun 2012
Location: Missouri, USA
Posts: 468
Reputation: 33
Default Re: How can i increase the payday on My Server?? Included Payday Code

pawn Code:
// 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.");
                }
            }
    }
__________________
Dubya is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Increase Payday And Goverment Pay Thanks ? Samieastwood Server Support 2 10/08/2013 07:08 PM
Where i wrong this payday code MrTinder Scripting Help 9 30/03/2013 02:02 PM
[Ajuda] Payday fechando samp-server Lós Português/Portuguese 15 13/02/2011 01:56 AM
Server /time and payday? DarrenReeder Help Archive 6 19/09/2010 09:12 PM


All times are GMT. The time now is 08:29 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.