How do I register a callback? For example, OnLoad?
Nevermind, I figured it out, it's done via Callback.Add(...)
How do I register a callback? For example, OnLoad?
Nevermind, I figured it out, it's done via Callback.Add(...)
You can use the OnLoad callback without registering it too.
function OnLoad()
print("HELLO FROM MY SCRIPT")
end
Oh nice to know! Thank you.
0 members, 1 guests, 0 anonymous users