Atton Posted March 27, 2014 Posted March 27, 2014 I would recommending making a function for the lua api that will run a string. For example if you where to read from a text file executeString would run any functions or stuff like that. executeString
Atton Posted March 29, 2014 Author Posted March 29, 2014 You mean loadstring?How can you even make use of it.
WhoAmI Posted March 29, 2014 Posted March 29, 2014 local t = "function somename () end" loadstring ( t )
Atton Posted April 5, 2014 Author Posted April 5, 2014 local t = "function somename () end" loadstring ( t ) Thanks.
Karuzo Posted April 5, 2014 Posted April 5, 2014 Uhm hey, i'm pretty new to this loadstring func and wanted to ask you what this function actually does. Is it like a function but written in one line ? And what is it good for ? local t = "function somename () end" loadstring ( t )
WhoAmI Posted April 5, 2014 Posted April 5, 2014 No, it isn't one line thing. It is good for some generators, where you are inserting code to the memo. For example guieditor uses it.
Atton Posted May 13, 2014 Author Posted May 13, 2014 No, it isn't one line thing. It is good for some generators, where you are inserting code to the memo. For example guieditor uses it. I built a copy of run code off and it and made a script protection system using it. By the way thanks.
Recommended Posts