Try "nom cs or de" (for example) and make a selection.Is not displayed correctly.In this case both codes do not function well.
This code works, but it gives an error and sometimes can not nominate a map and report error logged.
Code:
public nomination_handleMatchChoice( player_id, menu, item )
{
if( item < 0 )
{
return PLUGIN_CONTINUE;
}
// Get item info
new mapIndex, info[ 1 ];
new access, callback;
menu_item_getinfo( g_nominationMatchesMenu[ player_id ], item, access, info, 1, _, _, callback );
mapIndex = info[ 0 ];
map_nominate( player_id, mapIndex );
return PLUGIN_HANDLED;
}
Error:
Code:
L 03/31/2016 - 05:44:54: Invalid cellvector handle provided (15:-40:267)
L 03/31/2016 - 05:44:54: [AMXX] Displaying debug trace (plugin "galileo.amxx")
L 03/31/2016 - 05:44:54: [AMXX] Run time error 10: native error (native "ArrayGetString")
L 03/31/2016 - 05:44:54: [AMXX] [0] galileo.sma::map_nominate (line 2434)
L 03/31/2016 - 05:44:54: [AMXX] [1] galileo.sma::nomination_handleMatchChoice (line 2315)
Other code works to "say nomenu", but for "say nom cs" (or any card) does not work.
I do not speak good English,Sorry.