16.01.2016, 10:21
shouldn't this be:
this?
like the top one or vice versa? why did you do HouseInfo[idz][hEntranceY] in case of houseowned == 0 , while you did HouseInfo[HouseInfo[idz][hID]][hEntranceY] in case of "else"?
pawn Код:
HouseInfo[HouseInfo[idz][hID]][hOutsideIcon] = CreateDynamicPickup(1272, 1, HouseInfo[HouseInfo[idz][hID]][hEntranceX], HouseInfo[HouseInfo[idz][hID]][hEntranceY], HouseInfo[HouseInfo[idz][hID]][hEntranceZ], HouseInfo[HouseInfo[idz][hID]][hWorld]);
pawn Код:
HouseInfo[HouseInfo[idz][hID]][hOutsideIcon] = CreateDynamicPickup(1272, 1, HouseInfo[idz][hEntranceX], HouseInfo[idz][hEntranceY], HouseInfo[idz][hEntranceZ], HouseInfo[idz][hWorld]);