Jump to content

automatically change server name


FelipeMallmann

Recommended Posts

Posted

Hey guys, is there a way to automatically change server name ?

I tryed to find it out at mta wiki but didnt see a function to do that.

@EDIT: I mean a command to change server name, without needing to open mtaserver.cfg and change it manually.

Thanks.

Posted

There used to be a setServerName function but I think it was removed as it was used to circumvent branding from hosting providers.

Posted
:/

I need to tell some information to players while in mta server list, is there a way I can do that? can I change addon or mode name?

Yes you can.

setGameType("mode") -- Gamemode 
setMapName("Map") -- Map 

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