okapi_add_hook

Синтаксис

native okapi_hook:okapi_add_hook(okapi_func:func, const callback[], post = 0);

Употреба

func
Handler to the function returned by an attach function
callback
Nname of the public function in the code that will be

Описание

Adds a hook to a previously attached function.

Връщаща стойност

Handler to the hook

Грешка

Inexistant callback