01.08.2009, 18:25
You must have changed a command and it has messed up the script, Find the command you was last on before you complied and see if you can see an error or delete it to get it to work again.
I looked through the script and noticed this:
Half of your PayDay system isnt there... that could explain it?
I looked through the script and noticed this:
pawn Код:
public PayDay()
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(gPlayerLogged[i] == 1)
{
if(PlayerInfo[i][pAllowedPayday] >= 5)
{
new wstring[256];
new randcheck = 999 + random(4999);
new interest = (PlayerInfo[i][pBank]/1000)*(intrate);
new bonus = PlayerInfo[i][pPayCheck];
new newbank = PlayerInfo[i][pBank] + interest;
new randtax = 20 + random(50);
SendClientMessage(i,COLOR_YELLOW,"____________________________________________________");
SendClientMessage(i,COLOR_LIGHTYELLOW2," PayDay: ");
format(wstring, sizeof(wstring), "~y~PayDay~n~~w~Paycheck: ~g~%d",randcheck + bonus);
GameT