Thanks but im still having a few problems.
I have this as my code:
With this as the script file:
Now i was reading about LUA on the manual and a tutorial. The tutorial said that print("hello") should work. I read the manual and then checked out the mod and found that it does include the C header files. Now i'm not an an expert on C so i don't know whether there is something i'm mising out or whether i cant use those commands and i have to create them like you did in your example. But if the latter is the case then why use LUA when i could just make up my own sort of script?
I have this as my code:
Local state:Byte Ptr = lua_open() lua_dofile(state,"Script.lua".ToCString()) lua_close(state) Input()
With this as the script file:
print ("hello")
Now i was reading about LUA on the manual and a tutorial. The tutorial said that print("hello") should work. I read the manual and then checked out the mod and found that it does include the C header files. Now i'm not an an expert on C so i don't know whether there is something i'm mising out or whether i cant use those commands and i have to create them like you did in your example. But if the latter is the case then why use LUA when i could just make up my own sort of script?