Help - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Help (
/showthread.php?tid=199559)
Help -
keller012 - 15.12.2010
to giving this error:
Код:
error 047: array sizes of not match, or destination array is too small
this line:
Top GM
Can someone help?
Re: Help -
Face9000 - 15.12.2010
new Candidato1 [256];
Re: Help -
keller012 - 15.12.2010
I tried it
and has not worked
Re: Help -
Face9000 - 15.12.2010
Umh,post your complete code where u use that function.
Re: Help -
keller012 - 15.12.2010
thanks for trying to help
managed as follows:
Код:
format(Candidato1,sizeof(Candidato1),"%s",inputtext);
Re: Help -
Benjo - 15.12.2010
Instead of...
...try:
pawn Код:
format(Candidato1, sizeof(Candidato1), "%s", inputText);
That should work if inputText is defined somewhere as an array.