adahox Posted June 27, 2023 Share Posted June 27, 2023 Hello Guys. I'm trying to programming some new features to my own server and i'm facing some trouble with some dev steps. I would like to create a new class to manage client stuffs that will be active (or not) by Lua scripts. How can i do it ? There's some example ready ? Link to comment
Prever77 Posted June 29, 2023 Share Posted June 29, 2023 (edited) On 27/06/2023 at 03:08, adahox said: Hello Guys. I'm trying to programming some new features to my own server and i'm facing some trouble with some dev steps. I would like to create a new class to manage client stuffs that will be active (or not) by Lua scripts. How can i do it ? There's some example ready ? I also wanted to make module to my server. But everything i found then was Example module code and MTA modules . On the internet there is not that much useful informations about coding modules in C++. Many example modules are soo old and outdated. For sure you need Lua liblary dll. And knowledge of MTA code that is here Mtasa-blue. I know that is not much. But it's better than nothing. I give up with coding modules. Maybe you have more luck keep going dude Edit1# down the rabbit whole Edit2# in pressent days. I don't see any sense of making modules. There is so much functionality in lua scripts provided by MTA. You can do many things faster by typing lua code, rather than making module from absolute zero. ofc this puts more load on the server. But it's a lot easier. Ofc this is only my personal opinion. If i'm wrong, then correct me someone. Edited June 29, 2023 by Prever77 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