FelipeMallmann Posted February 19, 2016 Share Posted February 19, 2016 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. Link to comment
Callum Posted February 19, 2016 Share Posted February 19, 2016 There used to be a setServerName function but I think it was removed as it was used to circumvent branding from hosting providers. Link to comment
FelipeMallmann Posted February 19, 2016 Author Share Posted February 19, 2016 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? Link to comment
1LoL1 Posted February 19, 2016 Share Posted February 19, 2016 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 Link to comment
FelipeMallmann Posted February 19, 2016 Author Share Posted February 19, 2016 setMapName("Map") This function is used to set a map name that will be visible in the server browser. but map name does not appear in server list. All it shows is: Name | Players | Ping | Gamemode Link to comment
1LoL1 Posted February 23, 2016 Share Posted February 23, 2016 bump What bump? You can't create Map: in server list. And Map is in Information. Link to comment
GTX Posted February 23, 2016 Share Posted February 23, 2016 Most servers use setGameType(getMapName()) for showing which map is currently running. Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now