Blinker. Posted September 30, 2014 Share Posted September 30, 2014 Hello , i tried to set next map through runcode and i got an error "ERROR: mapmanager\mapmanager_exports.lua:64: mapmanager: Invalid map specified." well, i don't know how to define the map. i've tried that: exports.mapmanager:changeGamemodeMap ("[DD] Cross XL" ,true) Thanks. Link to comment
#DRAGON!FIRE Posted September 30, 2014 Share Posted September 30, 2014 u must put ( Resource Name ) not metaName . Link to comment
Anubhav Posted September 30, 2014 Share Posted September 30, 2014 and use a getResourceFromName on it. Link to comment
Blinker. Posted September 30, 2014 Author Share Posted September 30, 2014 Thanks to both , but the problem is How would i be able to get the Resource Name from its meta name? if i try this exports.mapmanager:changeGamemodeMap (getResourceFromName("[DD] Cross XL") ,nil,true) it won't work i need something like this exports.mapmanager:changeGamemodeMap (getResourceFromName(getResourceName(??????)) ,nil,true) i still can't figure it out Thanks. Link to comment
#DRAGON!FIRE Posted October 1, 2014 Share Posted October 1, 2014 don't use getResourceFromName .. Just put Resource Name . Link to comment
Anubhav Posted October 1, 2014 Share Posted October 1, 2014 don't use getResourceFromName .. Just put Resource Name . WAIT? If you just put the resource name then it won't work. See the source code ( i just saw ). It will return FALSE ALWAYS if you see mapmanager_exports.lua ( line 173 ). It doesn't get a resource name. # ZA7F, It only gives a name not a RESOURCE DATA. You've more to learn. Last time you did the same mistake with player element. exports.mapmanager:changeGamemodeMap (getResourceFromName("gamemodename") ,getReasonFromName("mapname",true) Map name cannot be nil and it must be compatiable with it. Link to comment
#DRAGON!FIRE Posted October 1, 2014 Share Posted October 1, 2014 i think mapManger use getResourceFromName .. But if not used .. of course use getResourceFromName . Link to comment
Anubhav Posted October 1, 2014 Share Posted October 1, 2014 i think mapManger use getResourceFromName .. But if not used .. of course use getResourceFromName . See.. Always read it. And map cannot be nil @ Blinker As I said before or it will return false! Contact me on skype for more help @ anubhav.agarwal87 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