31.08.2009, 09:10
followed mthe announcement one too
you do know i need a chatbot that says a random message every minit or so
btw will this work
you do know i need a chatbot that says a random message every minit or so

btw will this work
Код:
new Announcements[5][128] = {
"Wolf bot: Stuck, dont know where to start? (/help)",
"Wolf bot: test",
"Wolf bot: Another test",
"Announcement: Type /commands to view the list of the server commands",
"Announcement: Type /rules to read the server rules. Make sure to understand 'em!"
};
public GlobalAnnouncement()
{
switch (Msg)
{
case 0: {SendClientMessageToAll(ANNOUNCEMENT,Announcements[0]); Msg++;}
case 1: {SendClientMessageToAll(ANNOUNCEMENT,Announcements[1]); Msg++;}
case 2: {SendClientMessageToAll(ANNOUNCEMENT,Announcements[2]); Msg++;}
case 3: {SendClientMessageToAll(ANNOUNCEMENT,Announcements[3]); Msg++;}
case 4: {SendClientMessageToAll(ANNOUNCEMENT,Announcements[4]); Msg = 0;}
}
return 1;

