From 9b505fd6c7cbc2e32a38006667b736d5f5a6ca7a Mon Sep 17 00:00:00 2001 From: Martin Taibr Date: Mon, 22 Apr 2019 11:39:58 +0000 Subject: [PATCH] Update Programming Tips --- Programming-Tips.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Programming-Tips.md b/Programming-Tips.md index 1b3ac40..f2bbb41 100644 --- a/Programming-Tips.md +++ b/Programming-Tips.md @@ -1,6 +1,8 @@ ### Debug prints -You can show text anywhere on the map using `debug_text_3d(world_coords, message);` from `common/debug.qh`. +Use `con_notify 4` together with `LOG_INFOF("my_var: %s", my_var);` (`%s` string, `%f` float, `%d` integer, `%v` vector) to see debug output without opening the console. Type `con_notify` and press `` to see descriptions and more options (or use `apropos con_notify`). + +You can draw text anywhere on the map using `debug_text_3d(world_coords, message);` from `common/debug.qh`. ### Multiple clients + clean config -- 2.39.2