native formatex(output[], len, const format[], any:...);
output | Destination string buffer. |
len | Maximum length of output string buffer. |
format | Formatting rules. |
... | Variable number of format parameters. |
Formats a string according to the AMX Mod X format rules (see documentation).
Same as format(), except does not perform a "copy back" check. This means formatex() is faster, but DOES NOT ALLOW this type of call: formatex(buffer, len, "%s", buffer) formatex(buffer, len, buffer, buffer) formatex(buffer, len, "%s", buffer[5]) This is because the output is directly stored into "buffer", rather than copied back at the end.
Number of cells written.
This documentation was generated automatically using pawn-docgen written by xPaw for AlliedMods.