19.07.2015, 19:59
i started like this..
but it gives this problem:
line:
dcmd_evelkoy is like admins sell house..
Quote:
forward ResetAndSaveHouses(); public ResetAndSaveHouses() { new HouseID; for (HouseID = 1; HouseID < MAX_HOUSES; HouseID++) { if(AHouseData[HouseID][LastEntered] > 0 && gettime()-AHouseData[HouseID][LastEntered] > 604800) return dcmd_evelkoy; } return 1; } |
Quote:
error 076: syntax error in the expression, or invalid function call |
Quote:
if(AHouseData[HouseID][LastEntered] > 0 && gettime()-AHouseData[HouseID][LastEntered] > 604800) return dcmd_evelkoy; |