PayDay => PayCheck 0$ ?
#4

when you do
pawn Код:
rent = HouseInfo[key][hRent];
make sure that the rent = HouseInfo[key][hRent]; value is loaded do a test
like
pawn Код:
new Str[100];format(Str,100,"Loaded Rent: %d ||Server Rent %d",HouseInfo[key][hRent],rent);
SendClientMessage(playerid,COLOR,Str);
put that here
pawn Код:
else if(rent > GetPlayerMoney(i))
                        {
                            PlayerInfo[i][pPhousekey] = 255;
                            SendClientMessage(i, COLOR_WHITE, "You have been evicted.");
                            rent = 0;
                        }
                        HouseInfo[key][hTakings] = HouseInfo[key][hTakings]+rent;
                        //HERE so we can see whats going on :X
                        new Str[100];format(Str,100,"Loaded Rent: %d ||Server Rent %d",HouseInfo[key][hRent],rent);
                        SendClientMessage(playerid,COLOR,Str);
Reply


Messages In This Thread
PayDay => PayCheck 0$ ? - by MrBlake - 15.11.2011, 16:03
Re: PayDay => PayCheck 0$ ? - by park4bmx - 15.11.2011, 16:11
Re: PayDay => PayCheck 0$ ? - by MrBlake - 15.11.2011, 16:31
Re: PayDay => PayCheck 0$ ? - by park4bmx - 15.11.2011, 16:46

Forum Jump:


Users browsing this thread: 1 Guest(s)