Sowban Posted June 2, 2022 Share Posted June 2, 2022 Hello friends I am currently using version 5.3.6 of Lua on MTA successfully... i wanna know what other versions of Lua does MTA support? and where can i see them if there is any list or information. i searched in wiki but didn't find anything about it thank you Link to comment
FernandoMTA Posted June 2, 2022 Share Posted June 2, 2022 MTA uses Lua 5.1 https://github.com/multitheftauto/mtasa-blue/tree/master/vendor/lua (correct me if I'm wrong). Features from more recent Lua versions won't work in your MTA Lua client/server scripts. For example, the goto statement was only added in Lua 5.2 http://lua-users.org/wiki/GotoStatement 1 Link to comment
Sowban Posted June 2, 2022 Author Share Posted June 2, 2022 49 minutes ago, FernandoMTA said: MTA uses Lua 5.1 https://github.com/multitheftauto/mtasa-blue/tree/master/vendor/lua (correct me if I'm wrong). Features from more recent Lua versions won't work in your MTA Lua client/server scripts. For example, the goto statement was only added in Lua 5.2 http://lua-users.org/wiki/GotoStatement Thank you for your reply. Do you think that if there will be a change in this in the future, will be that version change of Lua mentioned in the changes section? I mean, how do we know that a change has taken place and do you think that version change is possible and needed for MTA? thank u Link to comment
FernandoMTA Posted June 2, 2022 Share Posted June 2, 2022 (edited) 13 minutes ago, Sowban said: Thank you for your reply. Do you think that if there will be a change in this in the future, will be that version change of Lua mentioned in the changes section?I mean, how do we know that a change has taken place and do you think that version change is possible and needed for MTA? thank u Change will only happen if people ask for it or someone decides to do it out of own will. I don't know if there's need to upgrade Lua version entirely. I know new functions & features can be added directly when needed. You can stay up to date with MTA Development: Edited June 2, 2022 by FernandoMTA 1 Link to comment
Recommended Posts