glua cómo llamar a un gancho

local function DoSomething()
    -- Does something
    hook.Call( "DoneDoingSomething" )
end

local function DoSomethingElse()
    -- Does something else, once the hook "DoneDoingSomething" is called.
    print( "Done!" )
end
hook.Add( "DoneDoingSomething", "Does something else", DoSomethingElse )

DoSomething()
Alive Ant