Array sizes error
#1

Код:
CKS.pwn(3190) : error 047: array sizes do not match, or destination array is too small
CKS.pwn(3208) : error 047: array sizes do not match, or destination array is too small
IDK why that error occurs and here.. those lines.
pawn Код:
tempgname[playerid] = inputtext; //CKS.pwn(3190)
tempgtag[playerid] = inputtext; //CKS.pwn(3208)

//here the vars
new tempgname[MAX_PLAYERS][30];
new tempgtag[MAX_PLAYERS][6];
plz help me
Reply
#2

Do it like this:

PHP код:
format(tempgname[playerid],30inputtext);
format(tempgtag[playerid],6inputtext); 
Reply
#3

Thank you bro it worked +REP
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)