[HELP PLEASE] Error 047 array sizes do not match..
#1

Код:
enum bInfo {
    bOwned,
    bPrice,
    bOwner[MAX_PLAYER_NAME],
Код:
INI_String("bOwner", BusinessInfo[idx][bOwner], MAX_PLAYER_NAME);
ERROR:
Код:
(4724) : error 047: array sizes do not match, or destination array is too small
Whats wrong?
Reply
#2

bOwner[MAX_STRING], to bOwner[MAX_PLAYER_NAME],
Reply
#3

Thanks for the reply, but i still got the same error
Reply
#4

When you parse the data and loading them, what's the size of bOwner? It's probably smaller than 24.
Reply
#5

Actually is INI_String isnt available anymore am i right?
Reply
#6

No, you're not. It's available and it saves the passed value as a string if the name matches. Make sure in the callback, you're trying to load the data, the size of bOwner is equal to MAX_PLAYER_NAME or 24.
Reply
#7

Cant get it working..
Reply
#8

Anyone?
Reply
#9

I really need help with this..
Reply
#10

Can anyone help me?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)