• 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 array in Lua. TFS 0.3.6

sawex

Premium User
Premium User
Joined
Jan 31, 2009
Messages
43
Reaction score
6
Hello.
How can I create a global array in Lua script system?
When I am trying to define it in lib/constant.lua file, it is not really global. Glovalevents are creating own instances, talkactions other instance etc..

Is there any way to do that in pure Lua (withoud C++ methods)?
P.S I know, I can make some kind of array using database, but it is not what I want use.
 
Back
Top