Jump to content

Module SDK


dugasz1

Recommended Posts

Hello guys!

I'm trying to compile my module for MTA. (Just want to know how it woks and do some basic stuff, curiosity) But i'm using VS 2015 and the lua lib is for an older version i guess. So i have to compile lua with my project. Do you guys know which version of lua should i use? And any suggestions how to make this work?

Link to comment

I fixed it. I can compile now ml_base it loads too.

But :

There was two main (in lua.c and luac.c) But why? I deleted luac.c (yolo) what the difference between them?

I see in the example how can i register a function but can i call default mta functions?

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...