Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do i use loadstring?

Asked by
joalars2 107
9 years ago

It'd be nice to know, i wanna learn as much as possible ^^

1 answer

Log in to vote
0
Answered by 9 years ago

Loadstring loads a Lua string into a chunk as a Lua function. Its usage is simple - You call it with a string, which if it contains valid Lua will return a function. You can then call that function to run the code.

It is recommended not to enable loadstring in your place for security reasons, and it is advisable that you look for other alternatives.

Ad

Answer this question