• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Lua String to Table tfs 1.2

Stellow

C++/C#/PHP/LUA
Joined
Oct 23, 2008
Messages
1,112
Reaction score
221
Location
Germany
GitHub
eubrunomiguel
A long time ago, I have worked on a script that converted a string {{2160,100},{2160,100},{2160,100}} to a table.

I don't really remember what I did, but back in the day I did not have any overhead. I probably called a table.unserialize on this string, or maybe just raw. The thing is, it is not working the way I thought it would be. I have tried all the tutorias according to my research on this forum, but that example table seems not to work on TFS 1.2.

Anybody has any idea on how to make a {{2160,100},{2160,100},{2160,100}} string be converted to table?
 
Back
Top