Fixed position jumping for console window

Improved "string_format" script function.
Edited error messages for a few functions.
Updated documents.
This commit is contained in:
NovaRain
2023-06-25 16:30:46 +08:00
parent 0c035a05df
commit 9674c16928
6 changed files with 82 additions and 128 deletions
+5 -4
View File
@@ -339,7 +339,7 @@ FUNCTION REFERENCE
-----
##### `string sprintf(string format, any value)`
- Formats given value using standard syntax of C `printf` function (google "printf" for format details). However it is limited to formatting only 1 value.
- Formats given value using standard syntax of C `printf` function (google "printf" for format details). However, it is limited to formatting only 1 value.
- Can be used to get character by ASCII code (`%c`).
-----
@@ -907,9 +907,10 @@ sfall_funcX metarule functions
----
#### string_format
`string sfall_func3("string_format", string format, any val1, any val2, ...)`
- Formats given value using standard syntax of C `printf` function (google "printf" for format details). However it is limited to formatting up to 4 values
- Formatting is only supported for `%s` and `%d`, and the format string is limited to 1024 characters
`string sfall_func2("string_format", string format, any val1)`
`string sfall_funcX("string_format", string format, any val1, any val2, ...)`
- Formats given values using standard syntax of C `printf` function (google "printf" for format details). However, it is limited to formatting up to 7 values
- The format string is limited to 1024 characters
----
#### objects_in_radius