Witch amx_showactivity to "2" you talk ?!
I don't understand what is the relation between amx_showactivity to "2" and what I want. That showactivity it's about showing message with ADMIN evalgas: vote map(s) or without admin ADMIN: vote map(s). Isn't what i want. Can't you understand it's about that message that appears to all with what map they chose from the vote.
Like mapchooser when you chose the map look at all the map you choose.
It's about something like this but i am not sure.
Error compile on line
PHP Code:
ArrayGetString(g_optionName, g_optionName[key], map, charsof(map));
PHP Code:
public voteCount(id, key)
{
if ( get_cvar_num( "amx_vote_answers" ) )
{
new name[32]
get_user_name( id, name, 31 )
if ( g_yesNoVote )
{
chat_color( 0, "%L", LANG_PLAYER, key ? "VOTED_AGAINST" : "VOTED_FOR", name )
}
else
{
new map[32];
ArrayGetString(g_optionName, g_optionName[key], map, charsof(map));
client_print(0, print_chat, "%s choose map %s", name, map);
}
}
++g_voteCount[key]
return PLUGIN_HANDLED
}