Nu stii, nu te baga. Inlocuieste-ti codul cu asta: forward ReactionTest();
public ReactionTest()
{
KillTimer(ReactionTimer);
new rtString[80];
if(ReactionState == PASSIVE_OFF)
{
new Rstr[] = "aAbBcCdDeEfFgGhHIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ0123456789";//Characters that will appear in the reaction test. Small "i" removed as it looks the same as a capital "i" in game.
for (new i = 0; i < 9; i++)ReactionrtString = Rstr[random(sizeof(Rstr))];
ReactionCash = random( MAX_WINNINGS - MIN_WINNINGS ) + MIN_WINNINGS;
}
else ReactionState = PASSIVE_OFF;
ReactionState = R_STATE_ACTIVE;
format(rtString,sizeof(rtString),"Primul care scrie %s castiga %d$!",ReactionrtString,ReactionCash);
SendClientMessageToAll(0xDA1800FF,rtString);
ReactionTimer = SetTimer("ReactionTest",REACTION_TIME*1000*60,true);
return 1;
}