Sign in to follow this  
Vadlmok

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

Share this post


Link to post

How can I ask the name of the player and direct server connection through storony program?

Share this post


Link to post

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

Share this post


Link to post
Just now, Jusonex said:

mtasa://127.0.0.1:22003

mtasa://nick@127.0.0.1:22003

mtasa://nick:password@127.0.0.1:22003

УРРРРРРААААА!!!!
Ты мне сильно помог, обожаю тебя!

URRRAAAA!!!!
You helped me a lot, I love you!

Share this post


Link to post
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.