Wrong
#1

Hi everybody, i whas making a reaction test. And came a problem this:
F:\gs.pwn(1233) : error 002: only a single statement (or expression) can follow each "case
And this is the code:

function time_ReactionProgress()
{
switch(time_TestBusy)
{
case true:
{
new
string[128]
;
format(string, sizeof(string), "« No-one won the reaction-test. New one starting in %d minutes. »", (TIME/60000));
SendClientMessageToAll(PURPLE, string);
time_ReactionTimer = SetTimer("time_ReactionTest", TIME, 1);
}
}
return 1;
}

This is line 1233: function time_ReactionProgress()
Reply


Messages In This Thread
Wrong - by gamerhead - 06.05.2011, 11:36
Re: Wrong - by Skaizo - 06.05.2011, 11:40
Re: Wrong - by gamerhead - 06.05.2011, 11:50

Forum Jump:


Users browsing this thread: 1 Guest(s)