TheBite Posted February 7, 2013 Posted February 7, 2013 Hey to everyone, I have a question, how to change the map and gamemode name for ever? I mean, I can change it from the admin panel but when I shut-down and start up again my server the map/gamemode name is restored to default how to change it for ever?
0 Jaysds1 Posted February 8, 2013 Posted February 8, 2013 You would need to create a script for this, using MTA's lua functions and events.
0 Baseplate Posted February 8, 2013 Posted February 8, 2013 You can use setGameType and setMapName Example addEventHandler("onResrourceStart", resourceRoot, function() setGameType("Your gamemode name here") setMapName("Your map name here") end )
0 TheBite Posted February 9, 2013 Author Posted February 9, 2013 You can use setGameType and setMapNameExample addEventHandler("onResrourceStart", resourceRoot, function() setGameType("Your gamemode name here") setMapName("Your map name here") end ) Where i can paste this?
0 Jaysds1 Posted February 9, 2013 Posted February 9, 2013 If u don't know how to create a resource, download MTA's Script Editor: https://wiki.multitheftauto.com/wiki/MTASE
Question
TheBite
Hey to everyone, I have a question, how to change the map and gamemode name for ever? I mean, I can change it from the admin panel but when I shut-down and start up again my server the map/gamemode name is restored to default
how to change it for ever?
5 answers to this question
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