bartje01 Posted January 3, 2013 Posted January 3, 2013 Hey guys. A while ago I had a problem with buying nextmaps. The maps didn't show up in my mapbrowser. Now they do. I had to change the gamemodename. Now there's another problem. When it says that I've setted the map and it took t he cash from me. The nextmap is not setted. What could be the problem?
bartje01 Posted January 3, 2013 Author Posted January 3, 2013 Oh and the cmd I had to add to the race_voting.lua addCommandHandler('33ff33x1', function( player, command, ... ) local query = #{...}>0 and table.concat({...},' ') or nil if not query then if g_ForcedNextMap then outputRace( 'Next map is ' .. getMapName( g_ForcedNextMap ), player ) else outputRace( 'Next map is not set', player ) end return end local map, errormsg = findMap( query ) if not map then outputRace( errormsg, player ) return end if g_ForcedNextMap == map then outputRace( 'Next map is already set to ' .. getMapName( g_ForcedNextMap ), player ) return end g_ForcedNextMap = map end )
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