20.06.2016, 07:48
Try this:
Code:
public NewReaction() { if(ReactionActive == 1) return 0; new rtString[128]; for(new i = 0; i < RrandomEx(10, 12); i++) { strins(Reaction, Characters[random(sizeof Characters)], i); } ReactionPrize = (random(10000) + 10000); format(rtString, 160, "[REACTION TEST]:{FFFFFF} The first one to type {F81414}%s{FFFFFF} wins {F81414}$%i{FFFFFF} + {F81414}1 Score & 3 EXP{FFFFFF}.", Reaction, ReactionPrize); SendClientMessageToAll(COLOR_LIGHTBLUE, rtString); ReactionTime = GetTickCount(); ReactionActive = 1; SetTimer("EndReaction", 45000, 0); return 1; }