Problem with random massage
#3

pawn Код:
new RandMessages[][] = {
    "WHAT",
    "WE",
    "WANT"
};
new RandTimer;
forward RandomMessages();
under gamemodeinit
pawn Код:
RandTimer = SetTimer("RandomMessages", 300000, true);
pawn Код:
public RandomMessages()
{
    new Rand = random(sizeof(RandMessages));
    SendClientMessageToAll(MYCOLOR, RandMessages[Rand]);
}
Reply


Messages In This Thread
Problem with random massage - by N0FeaR - 16.01.2012, 10:54
Re: Problem with random massage - by henry jiggy - 16.01.2012, 12:40
Re: Problem with random massage - by [ABK]Antonio - 16.01.2012, 12:59

Forum Jump:


Users browsing this thread: 2 Guest(s)