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

pawn Код:
mysql_get_field("proprio", InfoMaison[idx][mProprio]); // In my database, the column proprio is a varchar(31)

//Deleted that proprname thing

new pname[MAX_PLAYER_NAME+1], str[64];
GetPlayerName(playerid, pname, MAX_PLAYER_NAME+1);
format(str,sizeof(str),"%s",pname);
InfoMaison[i][mProprio] = str; //Replaced
Try that and see if it works

Edit: after finishing the code, I realized that BlackCode's one might be right, still try it just in case
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)