Witam, mam takie błędy i nie wiem co jest nie tak
L 11/09/2012 - 00:52:39: [AMXX] Run time error 4: index out of bounds
L 11/09/2012 - 00:52:39: [AMXX] [0] colorchat.inc::ColorChat (line 74)
L 11/09/2012 - 00:52:39: [AMXX] [1] questions_equation_event.sma::Zakoncz (line 275)
set_task(float(start), "g_count", 2000); <--- (linia 74)
public g_count()
{
active = get_pcvar_num(qee);
if(active && !is_in_progress)
{
count = get_pcvar_num(odliczanie);
format(message, charsmax(message), "Do zadania pytania pozostalo %i sekund", count);
show_text(message)
remove_task(2000);
set_task(1.0, "odswiezzz", 2000,_,_,"b");
is_in_progress = true;
}
}
----------------------------------------------------------------------------------------
public Zakoncz()
{
if(!active || !catch) return PLUGIN_HANDLED;
catch = false;
is_in_progress = false;
set_task(float(start), "g_count", 2000);
ColorChat(0, RED, "Przykro mi, nikt nie wygral!"); <--- (linia 275)
return PLUGIN_CONTINUE;
}