#1

i have made this:
pawn Код:
new pot = dini_Get(target,"Pot");
and i get this error:
Код:
error 033: array must be indexed (variable "-unknown-")
Reply
#2

Show me how you declared the variable 'target'
Reply
#3

pawn Код:
new target[32];
                format(target, sizeof(target), "%s.ini",tmp);
Reply
#4

All fine there, the problem must the somewhere else.
Reply
#5

Anyone?
Reply
#6

You have to store your data in an array, something like:
pawn Код:
pInfo[target][Pot]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)