xXMADEXx Posted March 14, 2015 Posted March 14, 2015 .luac files lua files that are compiled. They can be opened with Notepad++, but you can't edit them or view the code.
nk0zkh0z Posted March 14, 2015 Author Posted March 14, 2015 I want to create a file '.luac' then how?
Tekken Posted March 14, 2015 Posted March 14, 2015 (edited) file.luac is a compiled file.lua , that means if you want to make an file.luac you must do first an file.lua, then compile it here : https://luac.multitheftauto.com/ COMPILED FILES CAN'T BE EDITED ! Edited March 14, 2015 by Guest
nk0zkh0z Posted March 14, 2015 Author Posted March 14, 2015 file.luac is an compiled file.lua , that means if you want to make an file.luac you must do first an file.lua, then compile it here : https://luac.multitheftauto.com/COMPILED FILES CAN'T BE EDITED ! File '.luac' will act as '.lua'?
xXMADEXx Posted March 14, 2015 Posted March 14, 2015 file.luac is an compiled file.lua , that means if you want to make an file.luac you must do first an file.lua, then compile it here : https://luac.multitheftauto.com/COMPILED FILES CAN'T BE EDITED ! File '.luac' will act as '.lua'? Yes. Compiling it just makes it so you can't view or edit the code.
Addlibs Posted March 14, 2015 Posted March 14, 2015 Yes. Compiling it just makes it so you can't view or edit the code. and loads slightly faster, since Lua can only be loaded in bytecode form (compiled); meaning that MTA compiles a Lua code before executing it; thus increasing loading time. Pre-compiled files load slightly (almost unnoticeable, unless using very large files) faster.
MTA Team Lpsd Posted August 23, 2017 MTA Team Posted August 23, 2017 12 minutes ago, jockey661 said: Is it possible to decompile .luac files? no. you won't find any support for doing so on these forums.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now