diff --git a/extensions/sdktools/outputnatives.cpp b/extensions/sdktools/outputnatives.cpp index 4fc0796b..a5519373 100644 --- a/extensions/sdktools/outputnatives.cpp +++ b/extensions/sdktools/outputnatives.cpp @@ -500,9 +500,9 @@ static cell_t GetVariantString(IPluginContext *pContext, const cell_t *params) sp_nativeinfo_t g_EntOutputNatives[] = { {"HookEntityOutput", HookEntityOutput}, - {"UnHookEntityOutput", UnHookEntityOutput}, + {"UnhookEntityOutput", UnHookEntityOutput}, {"HookSingleEntityOutput", HookSingleEntityOutput}, - {"UnHookSingleEntityOutput", UnHookSingleEntityOutput}, + {"UnhookSingleEntityOutput", UnHookSingleEntityOutput}, #if 0 //Removed because we don't need them {"GetVariantType", GetVariantType}, {"GetVariantInt", GetVariantInt}, diff --git a/plugins/include/sdktools_entoutput.inc b/plugins/include/sdktools_entoutput.inc index a506609f..db70c31f 100644 --- a/plugins/include/sdktools_entoutput.inc +++ b/plugins/include/sdktools_entoutput.inc @@ -64,7 +64,7 @@ native HookEntityOutput(const String:classname[], const String:output[], EntityO * @return True on success, false if no valid hook was found. * @error Entity Outputs disabled. */ -native bool:UnHookEntityOutput(const String:classname[], const String:output[], EntityOutput:callback); +native bool:UnhookEntityOutput(const String:classname[], const String:output[], EntityOutput:callback); /** * Add an entity output hook on a single entity instance @@ -87,5 +87,5 @@ native HookSingleEntityOutput(entity, const String:output[], EntityOutput:callba * @return True on success, false if no valid hook was found. * @error Entity Outputs disabled or Invalid Entity index. */ -native bool:UnHookSingleEntityOutput(entity, const String:output[], EntityOutput:callback); +native bool:UnhookSingleEntityOutput(entity, const String:output[], EntityOutput:callback); diff --git a/plugins/testsuite/outputtest.sp b/plugins/testsuite/outputtest.sp index 605501f5..f9312ee5 100644 --- a/plugins/testsuite/outputtest.sp +++ b/plugins/testsuite/outputtest.sp @@ -54,6 +54,6 @@ public OnMapStart() AcceptEntityInput(ent, "LightOn", ent, ent); //Comment these out (and reload the plugin heaps) to test for leaks on plugin unload - UnHookSingleEntityOutput(ent, "OnLightOn", OutputHook); - UnHookSingleEntityOutput(ent, "OnLightOff", OutputHook); + UnhookSingleEntityOutput(ent, "OnLightOn", OutputHook); + UnhookSingleEntityOutput(ent, "OnLightOff", OutputHook); } \ No newline at end of file