Signature
native vdformat(buffer[], len, fmt_arg, vararg, ...);
Description
Formats a string according to the AMX Mod X format rules (see documentation).
Notes
-
Same as vformat(), except works in normal style dynamic natives.
Instead of passing the format arg string, you can only pass the
actual format argument number itself.
If you pass 0, it will read the format string from an optional
fifth parameter.
Parameters
- buffer — Destination string buffer.
- len — Maximum length of output string buffer.
- fmt_arg — Argument number which contains the format.
-
vararg
—
Argument number which contains the '...' symbol.
Note: Arguments start at 1.
Returns
Number of bytes written.