15.11.2011, 16:11
i dodnt see you setting the rent to anything rather then =0
also
what u try to do by that ?
ad the current rent to the hTakings and + the hTakings amount thats allredy there ?
or your trying to set rent the same amout as hTakings
EDIT
ok i did see it
but i think u shood use [MAX_PLAYERS] for it :X jsut incase
also
pawn Код:
HouseInfo[key][hTakings] = HouseInfo[key][hTakings]+rent;
ad the current rent to the hTakings and + the hTakings amount thats allredy there ?
or your trying to set rent the same amout as hTakings
EDIT
ok i did see it
pawn Код:
rent = HouseInfo[key][hRent];