22.07.2011, 10:25
I have this piece of code
It doesn't send the message, but it activates the timer...
Whats the problem?
pawn Код:
if(mathson == false)
{
KillTimer(stopper);
mathson = true;
new rand1;
new rand2;
new rand4;
rand1 = random(222);
rand2 = random(111);
rand4 = random(50);
answer = rand1 + rand2 + rand4;
new str[264];
format(str,sizeof str,"« Maths » "lgreen2"What is "lorange"%d+%d+%d"lgreen2"? Worth "lorange"$15,000 "lgreen2"+"lorange"5 Score"lgreen2"! "lyellow"Use /ANSWER <answer> to answer!",rand1,rand2,rand4);
SendClientMessageToAll(red,str);
stopper = SetTimer("endmath",60000,false);
}
Whats the problem?