Paycheck system not working Logs here
#3

I have put crashdetect on compiler debug and it showed me the line. It was not what you said but thanks for trying to help. It was

if(PlayerInfo[i][pAluguer] >= 1)
{
new PDAC = PlayerInfo[i][pAluguer];
new CDCA = PlayerInfo[i][pHouseKey];
PlayerInfo[i][pBank] -= PDAC;
Houses[CDCA][Money] = Houses[CDCA][Money] + PDAC;
}

it should look for a player key first and it did not. So house limit is 254 and many have 255 in house key that means they dont have any house. Thats what was causing the problem

its fixed now. Thanks everyone for helping
Reply


Messages In This Thread
Paycheck system not working Logs here - by GunZsmd - 15.08.2016, 01:12
Re: Paycheck system not working Logs here - by Sew_Sumi - 15.08.2016, 02:06
Re: Paycheck system not working Logs here - by GunZsmd - 15.08.2016, 03:20
Re: Paycheck system not working Logs here - by Sew_Sumi - 15.08.2016, 05:24

Forum Jump:


Users browsing this thread: 1 Guest(s)