The problem will be here? ;/
PHP Code:
if ( iWinner == -1 )
{
iWinner = random( pug_votemap_count );
set_task(3.0,"pug_votemap_change",iWinner)
client_print( 0 , print_chat , "[PUG] %s has been chosen randomly." , pug_votemap_name[ iWinner ] );
return PLUGIN_CONTINUE
}
else
{
client_print( 0 , print_chat , "[PUG] Cambiando map a %s..." , pug_votemap_name[ iWinner ] , iMostVotes , ( iMostVotes != 1 ) ? "s" : "" );
}
pug_voting = 0;
votemap_noswitch = 1;
set_pcvar_num(pug_cvar_votemap_e,0)
set_task(3.0,"pug_votemap_change",iWinner)
return PLUGIN_CONTINUE
}