11.08.2013, 17:29
How can i increase the payday on My Server?? Included Payday Code
11.08.2013, 17:31
Why use an edited script
11.08.2013, 17:33
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
12.08.2013, 01:33
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?
At the very top theres a variable called paycheck? Did you consider that this might be value you wanna change?
12.08.2013, 06:41
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.");
}
}
}
« Next Oldest | Next Newest »
Users browsing this thread: 1 Guest(s)