Fix error reporting
This commit is contained in:
+2
-2
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user