diff --git a/extension.cpp b/extension.cpp index 97d269a..7646ddb 100644 --- a/extension.cpp +++ b/extension.cpp @@ -311,7 +311,7 @@ static cell_t Native_SetEntityOwner(IPluginContext* pContext, const cell_t* para if (params[1] >= 1 && params[1] < SM_MAXPLAYERS) { - smutils->LogError(myself, "Entity %d is not being hook."); + smutils->LogError(myself, "Entity %d is not being hook.", params[1]); return false; } @@ -340,7 +340,7 @@ static cell_t Native_SetEntityState(IPluginContext* pContext, const cell_t* para if (params[1] >= 1 && params[1] < SM_MAXPLAYERS) { - smutils->LogError(myself, "Entity %d is not being hook."); + smutils->LogError(myself, "Entity %d is not being hook.", params[1]); return false; }