From e96e2ac1b5cdabf89de7df31eb9dccf4056ffa6e Mon Sep 17 00:00:00 2001 From: Kyle Date: Fri, 22 Jan 2021 19:57:20 +0800 Subject: [PATCH] Fix wrong params --- extension.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extension.cpp b/extension.cpp index 4465433..c9b088a 100644 --- a/extension.cpp +++ b/extension.cpp @@ -295,7 +295,7 @@ static cell_t Native_SetEntityOwner(IPluginContext* pContext, const cell_t* para if (params[1] >= 1 && params[1] < SM_MAXPLAYERS) { - smutils->LogError("Entity %d is not being hook.") + smutils->LogError(myself, "Entity %d is not being hook.") return false; } @@ -324,7 +324,7 @@ static cell_t Native_SetEntityState(IPluginContext* pContext, const cell_t* para if (params[1] >= 1 && params[1] < SM_MAXPLAYERS) { - smutils->LogError("Entity %d is not being hook.") + smutils->LogError(myslef, "Entity %d is not being hook.") return false; }