17.11.2014, 17:06
Код:
(3597) : error 047: array sizes do not match, or destination array is too small (3598) : error 047: array sizes do not match, or destination array is too small Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Errors.
pawn Код:
enum Houses
{
HouseName[64],
HouseOwner[64],
HouseLocation[64],
}
new HouseInfo[MAX_HOUSES][Houses];
//These scripts are the errors:
HouseInfo[h][HouseName] = "Unowned House";
HouseInfo[h][HouseOwner] = "Nobody";
pawn Код:
new str[64];
format(str, sizeof(str), "Unowned House");
HouseInfo[h][HouseName] = str;
format(str, sizeof(str), "Nobody");
HouseInfo[h][HouseOwner] = str;