#Paper Posted November 19, 2010 Share Posted November 19, 2010 Exist this function or others for get the current map name? Link to comment
dzek (varez) Posted November 19, 2010 Share Posted November 19, 2010 https://wiki.multitheftauto.com/wiki/Call https://wiki.multitheftauto.com/wiki/Mapmanager getRunningGamemodeMap Link to comment
#Paper Posted November 20, 2010 Author Share Posted November 20, 2010 https://wiki.multitheftauto.com/wiki/Callhttps://wiki.multitheftauto.com/wiki/Mapmanager getRunningGamemodeMap ty, but idk how to use it T_T Link to comment
Wojak Posted November 20, 2010 Share Posted November 20, 2010 mapname = call(getResourceFromName("mapmanager"),"getRunningGamemodeMap")) or mapname = exports.mapmanager:getRunningGamemodeMap() all is described in the links dzek given you, it will work if resource mapmanager is running (an its almost always is for most gamemodes) Link to comment
dzek (varez) Posted November 20, 2010 Share Posted November 20, 2010 it's easier to write "idk" than read.. Link to comment
BinSlayer1 Posted November 20, 2010 Share Posted November 20, 2010 https://wiki.multitheftauto.com/wiki/GetMapName this one works nice and it's a lot easier Link to comment
dzek (varez) Posted November 20, 2010 Share Posted November 20, 2010 this is used for game-monitor announce, but should work as well (if votemanager set it before) 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