[HELP PLEASE] Does anyone know how to put a lua script into a button on visual studio
Posted
for example ik that u have to put the
api.SendLimitedLuaScript(" ");
but when i put a script in the " "
it shows me that an error because its more than one line
PLEASE HELP
Replied
Give me the Script i'm gonna do that
Cancel
Post
Replied
You can do a multi line by having it as
api.SendLimitedLuaScript(@"script");
Cancel
Post
Replied
i tried that but it didnt work.
Cancel
Post
Replied
Make sure that if the script contains " your replace it with '. It works fine for me
Cancel
Post
Replied
Do : api.SendLimitedLuaScript("script here");
if that didnt solve your problem you may be coding on c++
if u are coding in c++
do :
string script = whateveryoutextboxnameis.Text;
SendLimitedLuaScript("script here");
Cancel
Post
Users viewing this thread:
( Members: 0, Guests: 1, Total: 1 )
Cancel
Post