I was fooling around with adminvote.sma, trying to make it so that if an admin put up a map vote they could choose more than 4 maps for the vote.
Now, I have absolutely no knowledge of amx scripting. I was just messing around with it, and trying to logically figure out what things I would need to change, and try to find all the instances where these things were referenced. But the bottom line is I have no idea what I'm doing.
I found
and made it
Then I also found
Code:
g_validMaps = 0
g_optionName[0][0] = 0
g_optionName[1][0] = 0
g_optionName[2][0] = 0
g_optionName[3][0] = 0
and changed it to
Code:
g_validMaps = 0
g_optionName[0][0] = 0
g_optionName[1][0] = 0
g_optionName[2][0] = 0
g_optionName[3][0] = 0
g_optionName[4][0] = 0
g_optionName[5][0] = 0
It compiled fine, but when I tried to pull up a map vote it didn't do anything different. I was still limited to four maps.
Can somebody point me in the right direction for editting this?