Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Global Functions Possible?

Asked by 10 years ago

Something like

_G.burn = function burn() --[[code]]-- end

I'm not sure if its possible but it would save time.

1 answer

Log in to vote
1
Answered by 10 years ago

Yeah it's possible. But I prefer to use this way instead:

function _G.Test()
    --Do something
end

Hope this helped!

0
<3 Thanks m8 YellowoTide 1992 — 10y
Ad

Answer this question