Jump to content

[HELP] Create a new Class Element on C++


adahox

Recommended Posts

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
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 by Prever77
Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...