[HELP] error 047 - 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] error 047 (
/showthread.php?tid=207238)
[HELP] error 047 -
portaro25 - 05.01.2011
Error:
Код:
error 047: array sizes do not match, or destination array is too small
Код:
new pSex[7], pnumber;
switch(strval(endata[16])) {
case SESSO_MASCHIO: pSex = "Maschio";
case SESSO_FEMMINA: pSex = "Femmina";
}
Anytime i try to modify this from Male to Maschio(ITA) or Female to Femmina(ITA) I get that error...
suggestions?
it's from quartz
Re: [HELP] error 047 -
Mike Garber - 05.01.2011
new pSex[14], pnumber;
7x2=14 :P
?
Re: [HELP] error 047 -
veyron - 05.01.2011
8 should be enough
7 chars + \0
Re: [HELP] error 047 -
portaro25 - 05.01.2011
Omg guys i know math but i didn't knew that was the problem XDDD thx guys
love you <3 bb