diff --git a/extensions/sdktools/vnatives.cpp b/extensions/sdktools/vnatives.cpp index 34bf4ac7..b02e746c 100644 --- a/extensions/sdktools/vnatives.cpp +++ b/extensions/sdktools/vnatives.cpp @@ -650,6 +650,7 @@ static cell_t FindEntityByClassname(IPluginContext *pContext, const cell_t *para gamehelpers->ReferenceToIndex(params[1]), params[1]); } + pEntity = (CBaseEntity *)servertools->NextEntity(pEntity); } pContext->LocalToString(params[2], &searchname);