19.04.2009, 17:01
pawn Код:
GivePlayerMoney(playerid, 10000);
SetTimer("SetBack",30,0); // required delay, for some reason.
new reactionwinner[24] ,string[128];
GetPlayerName(playerid,reactionwinner,24);
SendClientMessage(playerid,0x247C1BFF,"You have won the reactiontest!");
new TimeDiff = (GetTickCount() - time_start) % 60000;
format(string,128,"%s has won the reactiontest in %d.%d",reactionwinner,TimeDiff / 100, TimeDiff % 100);
SendClientMessageToAll(0xFFFF00FF,string);
reactiongap = SetTimer("ReactionTest",time1+random(time2),0); // sets the timer to restart ReactionTest()
return 1;