some help
#2

I understand the mistake. You have only one message on the MSGs and you are using random from MSGs while you have only one.
pawn Код:
new MSGs[1][256] = {
"» Bem vindo de volta", //320
// NOTE: Also if it's the last, it should have no ","
// ANOTHER NOTE: 128 is enough
};
pawn Код:
forward RandomMSGs();
public RandomMSGs()
{
    new string[256];
    new random1 = random(sizeof(MSGs));
    new random2 = random(sizeof(COLORS));
    format(string, sizeof(string), "%s", MSGs[random1]);
    SendClientMessageToAll(COLORS[random2],string);
    return 1;
}
Reply


Messages In This Thread
some help - by 22Jack - 25.01.2012, 15:11
Re: some help - by Konstantinos - 25.01.2012, 15:21
Re: some help - by 22Jack - 25.01.2012, 15:25
Re: some help - by Konstantinos - 25.01.2012, 16:03

Forum Jump:


Users browsing this thread: 1 Guest(s)