- added a plugin for Streamers and Youtubers.

This commit is contained in:
Tercioo
2016-02-19 12:26:38 -02:00
parent 944797f2ef
commit 766093fde1
14 changed files with 1788 additions and 7 deletions
+7
View File
@@ -29,6 +29,13 @@
return false, "Invalid hook type."
end
for _, this_func in ipairs (_detalhes.hooks [hook_type]) do
if (this_func == func) then
--> already installed
return
end
end
_detalhes.hooks [hook_type] [#_detalhes.hooks [hook_type] + 1] = func
_detalhes.hooks [hook_type].enabled = true