17.11.2014, 19:37
Quote:
pawn Код:
|
pawn Код:
format(HouseInfo[h][HouseName], 64, "Unowned House"); // work
format(HouseInfo[h][HouseOwner], 64, "Nobody"); // work
pawn Код:
HouseInfo[h][HouseOwner][0] = 'N';
HouseInfo[h][HouseOwner][1] = 'o';
HouseInfo[h][HouseOwner][2] = 'b';
HouseInfo[h][HouseOwner][4] = 'o';
HouseInfo[h][HouseOwner][5] = 'd';
HouseInfo[h][HouseOwner][6] = 'y';
printf("%s", HouseInfo[h][HouseOwner]); // show "Nobody"