Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

glua how to call a hook

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()
Comment

PREVIOUS NEXT
Code Example
Javascript :: jquery slick remove white fade 
Javascript :: How To Use The Most Used Array Method - Map 
Javascript :: angular resolver for cookie 
Javascript :: animating using jquery 
Javascript :: popover not working when next page datatable 
Javascript :: compass in react js 
Javascript :: Javascript index,length,push,pop,shift,unshift 
Javascript :: bootstrapmaterialdatepicker get selected value on changes 
Javascript :: jquery autocomplete set suggestion length 
Javascript :: copy chrome request to postman 
Javascript :: is empty string falsy 
Javascript :: Music bot by Laa & ia1q & Ess 
Javascript :: add codegrepper 
Javascript :: SharePoint Rest Api in Batch using PnP JS 
Javascript :: invite tracker node.js v13 
Javascript :: option 1 
Javascript :: online javascript coding test 
Javascript :: build class component react 
Javascript :: angular deployment 
Javascript :: get day in google app script 
Javascript :: detect letter ketcode 
Javascript :: how to send varible to another page in nuxt.js 
Javascript :: react js practical tutorial 
Javascript :: string to number javascript shortcut 
Javascript :: get nearest to user location js 
Javascript :: javascript one line if without else 
Javascript :: how to get value from a label in javascript gtk 
Javascript :: acceder a variable css desde js 
Javascript :: How to find object length in vue 
Javascript :: acced to unknown obkect key js 
ADD CONTENT
Topic
Content
Source link
Name
2+2 =