Jump to content

executeString


Atton

Recommended Posts

Posted

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

Nikola Tesla is love Nikola Tesla is light.

Email: [email protected]

Posted

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 ) 

Posted

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.

  • 1 month later...
Posted
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.

Nikola Tesla is love Nikola Tesla is light.

Email: [email protected]

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...