Jump to content

Client startup options


Recommended Posts

Hi. I am now writing a launcher with authorization, etc., there was a question about the launch of Mta, whether there are keys ( parameters ) launch MTA? Let's say nick change or automatic connection when launching the game?
Thanks for the reply, sorry for my English, used translator?

 

function doUser_bottom_lClickLeft(UXMouseEvent $e = null)
  {    
    execute('D:\Games\mt\Multi Theft Auto.exe', false);
  }

P.S -> Another question, where can I get the source code of mta? And what programs will be required for compilation?

Edited by Vadlmok
Link to comment

You can pass the connect URI to the MTA executable:

E.g.
 

$ "Multi Theft Auto.exe" mtasa://127.0.0.1:22003

$ "Multi Theft Auto.exe" mtasa://nick@127.0.0.1:22003

$ "Multi Theft Auto.exe" mtasa://nick:password@127.0.0.1:22003

 

  • Thanks 1
Link to comment
  • Recently Browsing   0 members

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