SA-MP Forums Archive
error 047 array sizes problem - 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: error 047 array sizes problem (/showthread.php?tid=641303)



error 047 array sizes problem - BadJih - 13.09.2017

XX.pwn(46614) : error 047: array sizes do not match, or destination array is too small

line 46614:

rnkname2 = "executive mapper";


Re: error 047 array sizes problem - Kane - 13.09.2017

rnkname2 needs to be a string.


Re: error 047 array sizes problem - JesterlJoker - 14.09.2017

Quote:
Originally Posted by Arthur Kane
Посмотреть сообщение
rnkname2 needs to be a string.
He meant an array
PHP код:
rkname2[32] or however the size of the string you will be using