20.10.2011, 17:10
Quote:
That usually happens when you try to call a variable as a function (did you do "X(Y)" instead of "X[Y]").
I can't see it as being anything to do with y_va given that it's not on the same line. |
pawn Код:
stock SaveAdminAction(playerid, format[], va_args<>)
{
new
out[256],
out2[256],
File:Log = fopen(AActionsLog, io_append)
;
va_format(out, sizeof(out), format, va_start<2>);
format(out2, sizeof(out2), " ", 0);
if(Log)
{
fwrite(File:Log, out2);
fclose(File:Log);
}
}
Is it just me or va_format wants to fight format ? xD