vdformat
- Синтаксис
-
native vdformat(buffer[], len, fmt_arg, vararg, ...);
Переменная | Описание |
---|---|
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. |
- Описание
- Formats a string according to the AMX Mod X format rules (see documentation).
- Пометка
-
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.
- Возвращает
- Number of bytes written.