#1

to giving this error:

Код:
error 047: array sizes of not match, or destination array is too small
this line:

pawn Код:
Candidato1 = inputText;
Top GM

pawn Код:
new Candidato1 [128];
Can someone help?
Reply
#2

new Candidato1 [256];
Reply
#3

I tried it
and has not worked
Reply
#4

Umh,post your complete code where u use that function.
Reply
#5

thanks for trying to help
managed as follows:

Код:
format(Candidato1,sizeof(Candidato1),"%s",inputtext);
Reply
#6

Instead of...
pawn Код:
Candidato1 = inputText;
...try:
pawn Код:
format(Candidato1, sizeof(Candidato1), "%s", inputText);
That should work if inputText is defined somewhere as an array.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)