[FilterScript] Easy to use random server message system - other then others.
#13

Nice but ehm, one question:
Why do you use the define 'CURRENT_MESSAGES'. Why don't you make a variable or something that'll be counted +1 when you use an "AddRandomMessage". eg.
pawn Код:
new something;

stock AddRandomMessage(text[])
{
    something++;
    for(new m; m < something; m++)
    //BLABLABLA
    return 0;
}

public SendRandomMessage()
{
    new rand = random(something);
    SendClientMessageToAll(MESSAGE_COLOR, RM[rand]);
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)