of     1   

MangobotXD
#63666410Thursday, March 01, 2012 8:49 PM GMT

I am trying to make a library to simplify scripting. I was thinking, I could make a table shared, and then add the functions inside the table. Like this: shared.runtime = { ["example"] = function() print('example') end } Is this the correct way? Is there a simpler way to do this? I don't want people to have to type: shared.runtime.function example() Is that wrong too? I'm not very good at scripting...
1Ra
#63666489Thursday, March 01, 2012 8:50 PM GMT

its _G.runtime = {}
su8
#63666561Thursday, March 01, 2012 8:52 PM GMT

@1ra, shared can be used too
TTTroy
#63666590Thursday, March 01, 2012 8:52 PM GMT

Yush, you should really look at Wiki: http://wiki.roblox.com/index.php/Global_Functions
MangobotXD
#63683191Friday, March 02, 2012 1:37 AM GMT

Thanks.

    of     1