error 047: array sizes do not match, or destination array is too small
#1

Код:
enum hInfo
{
hOwner[MAX_PLAYER_NAME+1],
};
new HouseInfo[MAX_HOUSES][hInfo];

HouseInfo[houseid][hOwner]="word";  // 293
(293) : error 047: array sizes do not match, or destination array is too small



why and what are the other ways to save "word" into HouseInfo[houseid][hOwner]
Reply
#2

Write it like this:
PHP код:
format(HouseInfo[houseid][hOwner],MAX_PLAYER_NAME+1,"word"); 
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)