From bd29ad78eccb825302778f6fadf87fe438b03619 Mon Sep 17 00:00:00 2001 From: RD42 <42702181+dashr9230@users.noreply.github.com> Date: Fri, 31 May 2024 23:08:29 +0800 Subject: [PATCH] [bot] Implement `n_print(...)` --- bot/scrcustom.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bot/scrcustom.cpp b/bot/scrcustom.cpp index 046a72e..3dddc88 100644 --- a/bot/scrcustom.cpp +++ b/bot/scrcustom.cpp @@ -8,7 +8,9 @@ // native print(const string[]) static cell AMX_NATIVE_CALL n_print(AMX *amx, cell *params) { - // TODO: n_print + char* msg; + amx_StrParam(amx, params[1], msg); + //logprintf("%s",msg); return 0; }