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

Hm, I'm not familair with this problem so I'd like to ask for help.

I've been working with someone on a system for a while. When I decided to add some strings to a file, I had this error:
Код:
error 047: array sizes do not match, or destination array is too small
It's located in an enum:

pawn Код:
EntPUMessage[156],
ExPUMessage[156]
And they are used here:
pawn Код:
PickupData[j][EntPUMessage] = dini_Get(file, "EntPUMess");    
PickupData[j][ExPUMessage] = dini_Get(file, "ExPUMess");
I hope you're able to help me to solve this problem.

Thank you,

Biesmen
Reply
#2

Make them [256]? tried that?
Reply
#3

Quote:
Originally Posted by <Weponz>
Посмотреть сообщение
Make them [256]? tried that?
Yes. It failed.
I also tried [MAX_PLAYERS], [MAX_PLAYER_NAME] and [128].
They all failed.

Edit: Solved it, changed to 255. After some logic thinking I found a solution. ^^ Thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)