Command warning (params) warning 224: indeterminate array size in "sizeof" expression (symbol "maxlength") -
Riwerry - 24.05.2014
Hello guys, I dont know why this not work. Im using zcmd:
pawn Код:
strcat(params, ".txt"); //This gives a warning warning 224: indeterminate array size in "sizeof" expression (symbol "maxlength")
strcat(params, ".txt", strlen(params) + 4); //Compiles fine but server console says runtime error 20 Invalid Index parameter bad entry point
Re: Command warning (params) warning 224: indeterminate array size in "sizeof" expression (symbol "maxlength") -
SickAttack - 24.05.2014
pawn Код:
new ParamsVariable[MAX_PLAYERS][128];
strdel(ParamsVariable[playerid], 0, 128);
strcat(ParamsVariable[playerid], params);
strcat(ParamsVariable[playerid], ".txt");