How to make random spawn messages
#6

Quote:

// on top
"SERVER: IDK",
"SERVER: IDK",
"SERVER: IDK"
};

// on top

new Msg;
new Announcements[3][128] = {

//ONPLAYERSPAWN

public OnPlayerSpawn(playerid)
{
SetTimer("Random",YourTimerNumber, true);
return 1;
}
forward Random();
public Random()
{
switch (Msg)
{
case 0: {SendClientMessageToAll(COLOR_WHITE,Announcements[0]); Msg++;} // first message
case 1: {SendClientMessageToAll(COLOR_WHITE,Announcements[1]); Msg++;}
case 2: {SendClientMessageToAll(COLOR_WHITE,Announcements[2]); Msg = 0;} // last message

}

im guesssing?
Reply


Messages In This Thread
How to make random spawn messages - by Jay. - 11.07.2010, 18:37
Re: How to make random spawn messages - by Jay. - 11.07.2010, 18:44
Re: How to make random spawn messages - by Kayla.S - 11.07.2010, 18:57
Re: How to make random spawn messages - by Jay. - 11.07.2010, 19:09
Re: How to make random spawn messages - by Jay. - 11.07.2010, 19:30
Re: How to make random spawn messages - by Kitten - 11.07.2010, 19:35
Re: How to make random spawn messages - by hab2ever - 11.07.2010, 19:36
Re: How to make random spawn messages - by Jay. - 11.07.2010, 19:47
Re: How to make random spawn messages - by hab2ever - 11.07.2010, 19:56

Forum Jump:


Users browsing this thread: 1 Guest(s)