Quote:
Originally Posted by Sinner
Is this even valid syntax? Try:
Also:
pawn Код:
format(InfoBox[i][mString], sizeof(InfoBox[i][mString]), "%s", string); // 81st line ! format(InfoBox[i][mTitle], sizeof(InfoBox[i][mTitle]), "%s", title); format(InfoBox[i][mtColor], sizeof(InfoBox[i][mtColor]), "%s", titlecolor);
Will give errors aswel, try:
pawn Код:
format(InfoBox[i][mString], 1024, "%s", string); // 81st line ! format(InfoBox[i][mTitle], 50, "%s", title); format(InfoBox[i][mtColor], 14, "%s", titlecolor);
|
Woops, it's wrong, I know, but I have tried the string[] parameter.
But what you said about sizeof works. I can't believe it. What could have been the reason?