• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Lua Global Tables and Lua 5.1

jestem pro

That is the question
Joined
Apr 20, 2013
Messages
650
Solutions
14
Reaction score
87
Hello.
I wanna know some information about global tables/variables access between scripts. (I read a little bit).

What I noticed between 0.X and 1.X TFS, is access to gobal tables.
In 1.X we can use them everywhere and can get/set from everywhere.
In 0.X cannot be.

The way to reach that is to put them in lib/000-constant and use "_G." option.

Is it a good way? If someone could tell me something about it.

Maybe upgrade my lua lib to one support it? Now it's very uncomfortable.

Thanks
 
Back
Top