xXMADEXx Posted March 14, 2015 Share 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. Link to comment
nk0zkh0z Posted March 14, 2015 Author Share Posted March 14, 2015 I want to create a file '.luac' then how? Link to comment
Tekken Posted March 14, 2015 Share 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 Link to comment
nk0zkh0z Posted March 14, 2015 Author Share Posted March 14, 2015 Then I have to add it to 'meta.xml'? Link to comment
nk0zkh0z Posted March 14, 2015 Author Share Posted March 14, 2015 Thank you for helping me Link to comment
nk0zkh0z Posted March 14, 2015 Author Share 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'? Link to comment
xXMADEXx Posted March 14, 2015 Share 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. Link to comment
Addlibs Posted March 14, 2015 Share 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. Link to comment
Guest Posted August 23, 2017 Share Posted August 23, 2017 Is it possible to decompile .luac files? Link to comment
Administrators Lpsd Posted August 23, 2017 Administrators Share 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. Link to comment
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