There's a bug with two occurrences in the source code.
While player IDs start with 1, array indexes start with 0.
So in lines 65 to 67 and 104 to 106 this is wrong:
Code:
get_players(Players, iNum, "ch")
for(new a = 1; a < iNum; a++)
It should be changed to:
Code:
get_players(Players, iNum, "ch")
for(new a; a < iNum; a++)
Then a minor issue, the menu exit should be at 0, not 9. To achieve this, these two lines can be commented out or deleted:
Code:
menu_addblank(menu, 0)
menu_setprop(menu, MPROP_EXIT, MEXIT_ALL)
E.g.
Code:
// menu_addblank(menu, 0)
// menu_setprop(menu, MPROP_EXIT, MEXIT_ALL)
And another tiny thing, the plugin's name is "Multi Vote", so I would replace this:
Code:
#define Plugin "Custom Vote"
with this:
Code:
#define Plugin "Multi Vote" // was: "Custom Vote"
And naturally the version should be changed then, too.
EDIT: Access level should be changed to "ADMIN_VOTE".