03.05.2013, 10:55
pawn Код:
forward TriggerEvent();
public TriggerEvent()
{
for(new c = 1; c < sizeof EventText; c++) //fills the array with random letters or numbers
EventText[c - 1] = ((random(2)) ? ((random(2)) ? ('a' + random(26)) : ('A' + random(26))) : ('0'+ random(10)));
SendClientMessageToAll(0x0000FFAA, "***** Who types the word as fastest gets 10_000$:");
return 1;
}
Replace the thing below //fast event with the code above
SendClientMessageToAll(0x0000FFAA, EventText);