09.12.2013, 19:49
Okay, updated. Now you can do this:
And then you can do this for example:
However, this is just an experimental "proof-of-concept" include - you should still use y_va for this stuff.
pawn Код:
var MyPrint(str[])
{
new
output[128];
format(output, sizeof(output), str, @variadic[1]);
return print(output);
}
pawn Код:
MyPrint("%s is cool.", "Emmet");