SA-MP Forums Archive
Errors - 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)
+--- Thread: Errors (/showthread.php?tid=589468)



Errors - Whatwasit - 19.09.2015

Hello, I'm getting some boring errors. Maybe can you help me ?

Quote:

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

For this line

Код:
if(dUserINT(params).("v1") == 0) { format(tmp, sizeof(tmp),"v1: 0"); strcat(string, tmp); v1 = tmp;



Re: Errors - jlalt - 19.09.2015

be sure you used:
new tmp[256]; and same for v1 like:

PHP код:
new tmp[256],v1[256];