You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// <li><b><c>%q</c></b> - escape a text for SQLite. (Added in <b>0.3.7 R2</b>)</li>
261
-
/// </ul>
262
-
/// </remarks>
263
-
/// <remarks>The values for the placeholders follow in the exact same order as parameters in the call. For example, <b><c>"I am %i years old"</c></b> - the <b><c>%i</c></b> will be replaced with an Integer variable, which is the person's age.</remarks>
264
-
/// <remarks>You may optionally put a number between the <b><c>%</c></b> and the letter of the placeholder code. This number indicates the field width; if the size of the parameter to print at the position of the placeholder is smaller than the field width, the field is expanded with spaces. To cut the number of decimal places beeing shown of a float, you can add <b><c>.<max number></c></b> between the <b><c>%</c></b> and the <b><c>f</c></b>. (example: <b><c>%.2f</c></b>)</remarks>
265
-
nativeprintf(const format[], {Float,_}:...);
238
+
#if!defined _console_included
239
+
/// <summary>Prints a string to the server console (not in-game chat) and logs (server_log.txt).</summary>
240
+
/// <param name="string">The string to print</param>
241
+
/// <seealso name="printf"/>
242
+
nativeprint(const string[]);
243
+
244
+
/// <summary>Outputs a formatted string on the console (the server window, not the in-game chat).</summary>
245
+
/// <param name="format">The format string</param>
246
+
/// <param name="">Indefinite number of arguments of any tag</param>
247
+
/// <seealso name="print"/>
248
+
/// <seealso name="format"/>
249
+
/// <remarks>The format string or its output should not exceed 1024 characters. Anything beyond that length can lead to a server to crash.</remarks>
250
+
/// <remarks>This function doesn't support <a href="#strpack">packed</a> strings.</remarks>
/// <li><b><c>%q</c></b> - escape a text for SQLite. (Added in <b>0.3.7 R2</b>)</li>
263
+
/// </ul>
264
+
/// </remarks>
265
+
/// <remarks>The values for the placeholders follow in the exact same order as parameters in the call. For example, <b><c>"I am %i years old"</c></b> - the <b><c>%i</c></b> will be replaced with an Integer variable, which is the person's age.</remarks>
266
+
/// <remarks>You may optionally put a number between the <b><c>%</c></b> and the letter of the placeholder code. This number indicates the field width; if the size of the parameter to print at the position of the placeholder is smaller than the field width, the field is expanded with spaces. To cut the number of decimal places beeing shown of a float, you can add <b><c>.<max number></c></b> between the <b><c>%</c></b> and the <b><c>f</c></b>. (example: <b><c>%.2f</c></b>)</remarks>
267
+
nativeprintf(const format[], {Float,_}:...);
268
+
#endif
266
269
267
270
/// <summary>Formats a string to include variables and other strings inside it.</summary>
268
271
/// <param name="output">The string to output the result to</param>
/// <li><b><c>%q</c></b> - escape a text for SQLite. (Added in <b>0.3.7 R2</b>)</li>
358
-
/// </ul>
359
-
/// </remarks>
360
-
/// <remarks>The values for the placeholders follow in the exact same order as parameters in the call. For example, <b><c>"I am %i years old"</c></b> - the <b><c>%i</c></b> will be replaced with an Integer variable, which is the person's age.</remarks>
361
-
/// <remarks>You may optionally put a number between the <b><c>%</c></b> and the letter of the placeholder code. This number indicates the field width; if the size of the parameter to print at the position of the placeholder is smaller than the field width, the field is expanded with spaces. To cut the number of decimal places beeing shown of a float, you can add <b><c>.<max number></c></b> between the <b><c>%</c></b> and the <b><c>f</c></b>. (example: <b><c>%.2f</c></b>)</remarks>
362
-
nativeprintf(const format[], {Float,_}:...);
335
+
#if!defined _console_included
336
+
/// <summary>Prints a string to the server console (not in-game chat) and logs (server_log.txt).</summary>
337
+
/// <param name="string">The string to print</param>
338
+
/// <seealso name="printf"/>
339
+
nativeprint(const string[]);
340
+
341
+
/// <summary>Outputs a formatted string on the console (the server window, not the in-game chat).</summary>
342
+
/// <param name="format">The format string</param>
343
+
/// <param name="">Indefinite number of arguments of any tag</param>
344
+
/// <seealso name="print"/>
345
+
/// <seealso name="format"/>
346
+
/// <remarks>The format string or its output should not exceed 1024 characters. Anything beyond that length can lead to a server to crash.</remarks>
347
+
/// <remarks>This function doesn't support <a href="#strpack">packed</a> strings.</remarks>
/// <li><b><c>%q</c></b> - escape a text for SQLite. (Added in <b>0.3.7 R2</b>)</li>
360
+
/// </ul>
361
+
/// </remarks>
362
+
/// <remarks>The values for the placeholders follow in the exact same order as parameters in the call. For example, <b><c>"I am %i years old"</c></b> - the <b><c>%i</c></b> will be replaced with an Integer variable, which is the person's age.</remarks>
363
+
/// <remarks>You may optionally put a number between the <b><c>%</c></b> and the letter of the placeholder code. This number indicates the field width; if the size of the parameter to print at the position of the placeholder is smaller than the field width, the field is expanded with spaces. To cut the number of decimal places beeing shown of a float, you can add <b><c>.<max number></c></b> between the <b><c>%</c></b> and the <b><c>f</c></b>. (example: <b><c>%.2f</c></b>)</remarks>
364
+
nativeprintf(const format[], {Float,_}:...);
365
+
#endif
363
366
364
367
/// <summary>Formats a string to include variables and other strings inside it.</summary>
365
368
/// <param name="output">The string to output the result to</param>
0 commit comments