15.03.2011, 15:23
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.
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]);
}