Fix error reporting

This commit is contained in:
Kyle
2021-01-23 20:30:44 +08:00
parent d529682899
commit d49db221d8
+2 -2
View File
@@ -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;
}