[HELP] error 047
#1

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
Reply
#2

new pSex[14], pnumber;

7x2=14 :P
?
Reply
#3

8 should be enough
7 chars + \0
Reply
#4

Omg guys i know math but i didn't knew that was the problem XDDD thx guys
love you <3 bb
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)